Skip to content

Commit 7b876ea

Browse files
committed
refactor: remove old build system + some code lints
1 parent b0fecd8 commit 7b876ea

14 files changed

+2856
-9863
lines changed

.eslintrc.json

+6-4
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
{
2-
"extends": "semistandard",
3-
"env": {
4-
"browser": true
5-
}
2+
"parser": "@typescript-eslint/parser",
3+
"extends": [
4+
"eslint:recommended",
5+
"plugin:@typescript-eslint/eslint-recommended",
6+
"plugin:@typescript-eslint/recommended"
7+
]
68
}

.prettierignore

+1-5
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,3 @@
11
dist
2-
docs
3-
package-json.lock
2+
package-lock.json
43
coverage
5-
6-
# semantic-release
7-
CHANGELOG.md

Gruntfile.js

-56
This file was deleted.

Makefile

-4
This file was deleted.

__test__/bugs.spec.ts

+1
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ describe("Bugs", () => {
88
expect(await packAndUnpack(undefined)).toBe(null);
99
});
1010
it("throws on empty Uint8Array", async () => {
11+
// noinspection ES6MissingAwait
1112
expect(packAndUnpack(new Uint8Array())).rejects.toThrowError(
1213
"Invalid length",
1314
);

0 commit comments

Comments
 (0)