Skip to content
Merged
Show file tree
Hide file tree
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
5 changes: 5 additions & 0 deletions eslint.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,11 @@ const eslintConfig = defineConfig([
"build/**",
"next-env.d.ts",
]),
// eslint-config-next ships `settings.react.version: 'detect'`; detection calls
// context.getFilename(), removed in ESLint 10, and throws on every file. Pin the version.
{
settings: { react: { version: "19.2.8" } },
},
{
// react-hooks v7 introduced aggressive React Compiler rules that flag
// valid async data-loading patterns (useCallback + useEffect(() => { load(); }, [load]))
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@
"@types/react-dom": "^19",
"dotenv-cli": "^11.0.0",
"drizzle-kit": "^0.31.10",
"eslint": "^9",
"eslint": "^10",
"eslint-config-next": "16.3.3",
"prettier": "3.9.6",
"tailwindcss": "^4",
Expand Down
Loading
Loading