Skip to content

Commit 26a2e40

Browse files
Merge #5: Upgrade NextJS to Next 15
2 parents 0055b52 + 59074c9 commit 26a2e40

24 files changed

+1490
-785
lines changed

.eslintrc

+9-1
Original file line numberDiff line numberDiff line change
@@ -19,13 +19,21 @@
1919
"react/react-in-jsx-scope": "off",
2020
"react-hooks/exhaustive-deps": "off",
2121
"@typescript-eslint/no-unused-vars": "off",
22+
"@next/next/no-html-link-for-pages": "off",
2223
"import/no-named-as-default": "off",
24+
"@next/next/no-img-element": "off",
25+
"@next/next/no-page-custom-font": "off",
26+
"@next/next/no-duplicate-head": "off",
27+
"@next/next/no-typos": "off",
28+
"@next/next/no-before-interactive-script-outside-document": "off",
29+
"@next/next/no-styled-jsx-in-document": "off",
30+
"@next/next/no-head-import-in-document": "off",
2331
},
2432
"overrides": [
2533
{
2634
"files": ["*.js"],
2735
"rules": {
28-
"typescript/no-var-requires": "off",
36+
"@typescript-eslint/no-var-requires": "off",
2937
},
3038
},
3139
],

next-env.d.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@
22
/// <reference types="next/image-types/global" />
33

44
// NOTE: This file should not be edited
5-
// see https://nextjs.org/docs/basic-features/typescript for more information.
5+
// see https://nextjs.org/docs/pages/api-reference/config/typescript for more information.

next.config.js

-3
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,6 @@ const withTM = require('next-transpile-modules')(['@react-chess/chessground'])
66
module.exports = withTM({
77
reactStrictMode: false,
88
output: 'standalone',
9-
experimental: {
10-
esmExternals: 'loose',
11-
},
129
async rewrites() {
1310
return [
1411
{

0 commit comments

Comments
 (0)