chore(templates): enable next lint on blank (#6494)
Enables next linting on blank template Closes #6481
This commit is contained in:
@@ -1,5 +1,6 @@
|
|||||||
/** @type {import('eslint').Linter.Config} */
|
/** @type {import('eslint').Linter.Config} */
|
||||||
module.exports = {
|
module.exports = {
|
||||||
|
extends: ['next/core-web-vitals'],
|
||||||
parserOptions: {
|
parserOptions: {
|
||||||
project: ['./tsconfig.json'],
|
project: ['./tsconfig.json'],
|
||||||
tsconfigRootDir: __dirname,
|
tsconfigRootDir: __dirname,
|
||||||
|
|||||||
@@ -31,6 +31,8 @@
|
|||||||
"@types/react": "npm:types-react@19.0.0-beta.2",
|
"@types/react": "npm:types-react@19.0.0-beta.2",
|
||||||
"@types/react-dom": "npm:types-react-dom@19.0.0-beta.2",
|
"@types/react-dom": "npm:types-react-dom@19.0.0-beta.2",
|
||||||
"dotenv": "^16.4.5",
|
"dotenv": "^16.4.5",
|
||||||
|
"eslint": "^8",
|
||||||
|
"eslint-config-next": "^14.2.3",
|
||||||
"typescript": "^5.4.5"
|
"typescript": "^5.4.5"
|
||||||
},
|
},
|
||||||
"engines": {
|
"engines": {
|
||||||
|
|||||||
7147
templates/blank-3.0/pnpm-lock.yaml
generated
Normal file
7147
templates/blank-3.0/pnpm-lock.yaml
generated
Normal file
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user