Skip to content

Commit 2b6efd8

Browse files
committed
update eslint-config-next: update from 15.5.6 to ^16.0.1 to match Next.js 16
1 parent b51084b commit 2b6efd8

File tree

2 files changed

+18
-7
lines changed

2 files changed

+18
-7
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@
3838
"autoprefixer": "10.4.21",
3939
"babel-jest": "^29.7.0",
4040
"eslint": "9.39.1",
41-
"eslint-config-next": "15.5.6",
41+
"eslint-config-next": "^16.0.1",
4242
"expect": "^30.2.0",
4343
"jest": "^30.2.0",
4444
"jest-environment-jsdom": "^30.2.0",

tsconfig.json

Lines changed: 17 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,11 @@
11
{
22
"compilerOptions": {
33
"target": "es2017",
4-
"lib": ["dom", "dom.iterable", "esnext"],
4+
"lib": [
5+
"dom",
6+
"dom.iterable",
7+
"esnext"
8+
],
59
"allowJs": true,
610
"skipLibCheck": true,
711
"strict": true,
@@ -12,17 +16,22 @@
1216
"moduleResolution": "bundler",
1317
"resolveJsonModule": true,
1418
"isolatedModules": true,
15-
"jsx": "preserve",
19+
"jsx": "react-jsx",
1620
"incremental": true,
17-
"types": ["jest"],
18-
"typeRoots": ["./node_modules/@types", "./src/types"],
21+
"baseUrl": ".",
22+
"typeRoots": [
23+
"./node_modules/@types",
24+
"./src/types"
25+
],
1926
"plugins": [
2027
{
2128
"name": "next"
2229
}
2330
],
2431
"paths": {
25-
"@/*": ["./src/*"]
32+
"@/*": [
33+
"./src/*"
34+
]
2635
}
2736
},
2837
"include": [
@@ -32,5 +41,7 @@
3241
".next/types/**/*.ts",
3342
"components/Dashboard.jsx"
3443
],
35-
"exclude": ["node_modules"]
44+
"exclude": [
45+
"node_modules"
46+
]
3647
}

0 commit comments

Comments
 (0)