Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@
"@typescript-eslint/parser": "^7.1.1",
"dts-bundle-generator": "^9.3.1",
"esbuild": "^0.23.0",
"eslint": "^8.57.0",
"eslint": "^9.26.0",

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Add flat config or lint will fail under ESLint 9

ESLint 9 defaults to flat config and only looks for eslint.config.js|mjs|cjs (per eslint --help: “Use this configuration instead of eslint.config.js, eslint.config.mjs, or eslint.config.cjs” and “Disable look up for eslint.config.js”). This repo only has .eslintrc.js, so after this bump npm run lint/lint-staged will error out with “ESLint couldn't find an eslint.config.(js|mjs|cjs) file” (I reproduced with eslint src --ext ts,js). Unless you add an eslint.config.* or explicitly opt into legacy config, linting and hooks will fail for contributors/CI that run the scripts.

Useful? React with 👍 / 👎.

"eslint-plugin-jest": "^27.9.0",
"eslint-plugin-node": "^11.1.0",
"husky": "^9.0.11",
Expand Down
Loading