Skip to content

Commit aa6fcc5

Browse files
CDeltakaitegefaulkes
authored andcommitted
feat: added @matrixai/lint and removed old linting elements, ran linting with js-lint
1 parent 144b6d7 commit aa6fcc5

File tree

3 files changed

+4
-188
lines changed

3 files changed

+4
-188
lines changed

.eslintrc

Lines changed: 0 additions & 178 deletions
This file was deleted.

package.json

Lines changed: 3 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,8 @@
3030
"postversion": "npm install --package-lock-only --ignore-scripts --silent",
3131
"tsx": "tsx",
3232
"test": "node ./scripts/test.mjs",
33-
"lint": "eslint '{src,tests,scripts,benches}/**/*.{js,mjs,ts,mts,jsx,tsx}'",
34-
"lintfix": "eslint '{src,tests,scripts,benches}/**/*.{js,mjs,ts,mts,jsx,tsx}' --fix",
33+
"lint": "matrixai-lint",
34+
"lintfix": "matrixai-lint --fix",
3535
"lint-shell": "find ./src ./tests ./scripts -type f -regextype posix-extended -regex '.*\\.(sh)' -exec shellcheck {} +",
3636
"docs": "shx rm -rf ./docs && typedoc --gitRevision master --tsconfig ./tsconfig.build.json --out ./docs src",
3737
"bench": "tsc -p ./tsconfig.build.json && shx rm -rf ./benches/results && tsx ./benches/index.ts"
@@ -43,22 +43,16 @@
4343
"rxjs": "^7.8.2"
4444
},
4545
"devDependencies": {
46+
"@matrixai/lint": "^0.2.4",
4647
"@swc/core": "^1.3.76",
4748
"@swc/jest": "^0.2.29",
4849
"@types/jest": "^29.5.2",
4950
"@types/node": "^18.15.0",
50-
"@typescript-eslint/eslint-plugin": "^5.61.0",
51-
"@typescript-eslint/parser": "^5.61.0",
5251
"benny": "^3.7.1",
5352
"common-tags": "^1.8.2",
54-
"eslint": "^8.44.0",
55-
"eslint-config-prettier": "^8.8.0",
56-
"eslint-plugin-import": "^2.27.5",
57-
"eslint-plugin-prettier": "^5.0.0-alpha.2",
5853
"jest": "^29.6.2",
5954
"jest-extended": "^4.0.0",
6055
"jest-junit": "^16.0.0",
61-
"prettier": "^3.0.0",
6256
"shx": "^0.3.4",
6357
"systeminformation": "^5.18.5",
6458
"tsx": "^3.12.7",

src/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
export { default as WorkerManager } from './WorkerManager.js';
22
export { expose } from './expose.js';
33
export * as errors from './errors.js';
4-
export * from './types.js';
4+
export type * from './types.js';

0 commit comments

Comments
 (0)