2 Commits

Author SHA1 Message Date
0bf58f521b Remove eslint from build 2025-10-26 10:36:26 +03:00
3cfbb158d0 Update to Next.js 16 2025-10-26 10:35:27 +03:00
4 changed files with 10 additions and 23 deletions

View File

@ -1 +1,2 @@
.next .next
next-env.d.ts

2
next-env.d.ts vendored
View File

@ -1,6 +1,6 @@
/// <reference types="next" /> /// <reference types="next" />
/// <reference types="next/image-types/global" /> /// <reference types="next/image-types/global" />
/// <reference path="./.next/types/routes.d.ts" /> import "./.next/types/routes.d.ts";
// NOTE: This file should not be edited // NOTE: This file should not be edited
// see https://nextjs.org/docs/app/api-reference/config/typescript for more information. // see https://nextjs.org/docs/app/api-reference/config/typescript for more information.

View File

@ -6,9 +6,6 @@ const withBundleAnalyzer = bundleAnalyzer({
export default withBundleAnalyzer({ export default withBundleAnalyzer({
reactStrictMode: false, reactStrictMode: false,
eslint: {
ignoreDuringBuilds: true,
},
experimental: { experimental: {
optimizePackageImports: ['@mantine/core', '@mantine/hooks'], optimizePackageImports: ['@mantine/core', '@mantine/hooks'],
}, },

View File

@ -1,16 +1,8 @@
{ {
"compilerOptions": { "compilerOptions": {
"types": [ "types": ["node", "jest", "@testing-library/jest-dom"],
"node",
"jest",
"@testing-library/jest-dom"
],
"target": "es5", "target": "es5",
"lib": [ "lib": ["dom", "dom.iterable", "esnext"],
"dom",
"dom.iterable",
"esnext"
],
"allowJs": true, "allowJs": true,
"skipLibCheck": true, "skipLibCheck": true,
"strict": true, "strict": true,
@ -21,12 +13,10 @@
"moduleResolution": "node", "moduleResolution": "node",
"resolveJsonModule": true, "resolveJsonModule": true,
"isolatedModules": true, "isolatedModules": true,
"jsx": "preserve", "jsx": "react-jsx",
"incremental": true, "incremental": true,
"paths": { "paths": {
"@/*": [ "@/*": ["./*"]
"./*"
]
}, },
"plugins": [ "plugins": [
{ {
@ -40,9 +30,8 @@
".storybook/main.ts", ".storybook/main.ts",
".storybook/preview.tsx", ".storybook/preview.tsx",
"next-env.d.ts", "next-env.d.ts",
".next/types/**/*.ts" ".next/types/**/*.ts",
".next/dev/types/**/*.ts"
], ],
"exclude": [ "exclude": ["node_modules"]
"node_modules"
]
} }