Skip to content

Commit ada4d03

Browse files
committed
fix: Downgrade eslint to v9 and add TS 6 ignoreDeprecations
- Downgrade eslint and @eslint/js from ^10 back to ^9 since eslint-plugin-react@7.37.5 does not support eslint 10 (uses removed getFilename() API) - Add ignoreDeprecations: 6.0 to tsconfig.json to silence TypeScript 6 deprecation error for the baseUrl option
1 parent 0ac2bdb commit ada4d03

3 files changed

Lines changed: 138 additions & 106 deletions

File tree

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@
6060
},
6161
"devDependencies": {
6262
"@commitlint/config-conventional": "^20.5.0",
63-
"@eslint/js": "^10.0.1",
63+
"@eslint/js": "^9.39.4",
6464
"@storybook/addon-docs": "next",
6565
"@storybook/icons": "^2.0.0",
6666
"@storybook/react-vite": "next",
@@ -71,7 +71,7 @@
7171
"auto": "^11.3.6",
7272
"boxen": "^8.0.1",
7373
"commitlint": "^20.5.0",
74-
"eslint": "^10.1.0",
74+
"eslint": "^9.39.4",
7575
"eslint-config-prettier": "^10.1.8",
7676
"eslint-plugin-prettier": "^5.5.5",
7777
"eslint-plugin-react": "^7.37.5",

0 commit comments

Comments
 (0)