Skip to content

Commit 408896e

Browse files
Copilotabernier
andcommitted
Migrate to Next.js 16 and ESLint 9
Co-authored-by: abernier <76580+abernier@users.noreply.github.com>
1 parent 7a73161 commit 408896e

File tree

7 files changed

+674
-293
lines changed

7 files changed

+674
-293
lines changed

.eslintrc

Lines changed: 0 additions & 7 deletions
This file was deleted.

eslint.config.mjs

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
import nextConfig from 'eslint-config-next'
2+
3+
const eslintConfig = [
4+
...nextConfig,
5+
{
6+
rules: {
7+
'react/jsx-no-target-blank': 0,
8+
'import/no-anonymous-default-export': 0,
9+
'react-hooks/set-state-in-effect': 0,
10+
},
11+
},
12+
]
13+
14+
export default eslintConfig

next-env.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/// <reference types="next" />
22
/// <reference types="next/image-types/global" />
3-
/// <reference path="./.next/types/routes.d.ts" />
3+
import './.next/types/routes.d.ts'
44

55
// NOTE: This file should not be edited
66
// see https://nextjs.org/docs/app/api-reference/config/typescript for more information.

0 commit comments

Comments
 (0)