Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit bfc5cb2

Browse files
authoredMay 9, 2025··
Merge pull request #25 from MatrixAI/feature-integrate-js-lint
Integrate js-lint and removing old linting elements
2 parents 15fd2ec + 90c5ab3 commit bfc5cb2

File tree

4 files changed

+3118
-1414
lines changed

4 files changed

+3118
-1414
lines changed
 

‎.eslintrc

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

‎package-lock.json

Lines changed: 3114 additions & 1227 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎package.json

Lines changed: 3 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -30,29 +30,23 @@
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
},
3838
"dependencies": {
3939
"ts-custom-error": "3.2.2"
4040
},
4141
"devDependencies": {
42+
"@matrixai/lint": "^0.2.4",
4243
"@swc/core": "^1.3.76",
4344
"@swc/jest": "^0.2.29",
4445
"@types/jest": "^29.5.2",
4546
"@types/node": "^18.15.0",
46-
"@typescript-eslint/eslint-plugin": "^5.61.0",
47-
"@typescript-eslint/parser": "^5.61.0",
48-
"eslint": "^8.44.0",
49-
"eslint-config-prettier": "^8.8.0",
50-
"eslint-plugin-import": "^2.27.5",
51-
"eslint-plugin-prettier": "^5.0.0-alpha.2",
5247
"jest": "^29.6.2",
5348
"jest-extended": "^4.0.0",
5449
"jest-junit": "^16.0.0",
55-
"prettier": "^3.0.0",
5650
"shx": "^0.3.4",
5751
"tsx": "^3.12.7",
5852
"typedoc": "^0.24.8",

‎src/index.ts

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

0 commit comments

Comments
 (0)
Please sign in to comment.