Skip to content

Commit 93de84b

Browse files
authored
chore: update eslint to v10 with compatible plugins
1 parent 6ca667c commit 93de84b

2 files changed

Lines changed: 7 additions & 6 deletions

File tree

eslint.config.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import eslint from '@eslint/js';
2-
import importPlugin from 'eslint-plugin-import';
2+
import importPlugin from 'eslint-plugin-import-x';
33
import jest from 'eslint-plugin-jest';
44
import tseslint from 'typescript-eslint';
55

package.json

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
"build": "tsc && rollup -c",
1515
"clean": "rimraf dist",
1616
"format": "prettier . --write",
17-
"lint:eslint": "eslint src --ext .ts",
17+
"lint:eslint": "eslint src",
1818
"lint:prettier": "prettier . --check",
1919
"lint": "npm run lint:eslint && npm run lint:prettier",
2020
"pkg-ok": "pkg-ok",
@@ -45,10 +45,11 @@
4545
},
4646
"homepage": "https://github.com/abraham/reflection#readme",
4747
"devDependencies": {
48-
"@eslint/js": "^9.0.0",
48+
"@eslint/js": "^10.0.0",
4949
"@types/jest": "^30.0.0",
50-
"eslint": "^9.0.0",
51-
"eslint-plugin-import": "^2.0.0",
50+
"eslint": "^10.0.0",
51+
"eslint-import-resolver-typescript": "^4.0.0",
52+
"eslint-plugin-import-x": "^4.0.0",
5253
"eslint-plugin-jest": "^29.0.1",
5354
"jest": "^30.0.3",
5455
"pkg-ok": "^3.0.0",
@@ -57,7 +58,7 @@
5758
"rollup": "^4.0.0",
5859
"ts-jest": "^29.0.0",
5960
"typescript": "^5.0.0",
60-
"typescript-eslint": "^8.0.0"
61+
"typescript-eslint": "^8.56.0"
6162
},
6263
"jest": {
6364
"collectCoverage": true,

0 commit comments

Comments
 (0)