Skip to content

Commit

Permalink
fix: use eslint-config-next for stricter react linting
Browse files Browse the repository at this point in the history
  • Loading branch information
juliusmarminge committed Jan 2, 2024
1 parent ba352ef commit e9a4b8d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion cli/template/base/_eslintrc.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ const config = {
},
plugins: ["@typescript-eslint"],
extends: [
"plugin:@next/next/core-web-vitals",
"next/core-web-vitals",
"plugin:@typescript-eslint/recommended-type-checked",
"plugin:@typescript-eslint/stylistic-type-checked",
],
Expand Down
2 changes: 1 addition & 1 deletion cli/template/base/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,14 +17,14 @@
"zod": "^3.22.4"
},
"devDependencies": {
"@next/eslint-plugin-next": "^14.0.4",
"@types/eslint": "^8.44.7",
"@types/node": "^18.17.0",
"@types/react": "^18.2.37",
"@types/react-dom": "^18.2.15",
"@typescript-eslint/eslint-plugin": "^6.11.0",
"@typescript-eslint/parser": "^6.11.0",
"eslint": "^8.54.0",
"eslint-config-next": "^14.0.4",
"typescript": "^5.1.6"
}
}

0 comments on commit e9a4b8d

Please sign in to comment.