Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .eslintrc
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
{
"root": true,
"ignorePatterns": ["next-env.d.ts"],
"plugins": ["@typescript-eslint", "prettier", "react", "react-hooks"],
"extends": [
"next/core-web-vitals",
Expand Down
1 change: 1 addition & 0 deletions next-env.d.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
/// <reference types="next" />
/// <reference types="next/image-types/global" />
/// <reference path="./.next/types/routes.d.ts" />
Copy link
Copy Markdown
Author

@lith-x lith-x May 10, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Line was automatically added when running npm run dev, which triggered an ESLint violation (@typescript-eslint/triple-slash-reference). NextJS handles these files and "should not be edited", so ignore in ESLint config


// NOTE: This file should not be edited
// see https://nextjs.org/docs/pages/api-reference/config/typescript for more information.
9 changes: 3 additions & 6 deletions next.config.js
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
/** @type {import('next').NextConfig} */

// eslint-disable-next-line @typescript-eslint/no-var-requires
const withTM = require('next-transpile-modules')(['@react-chess/chessground'])

module.exports = withTM({
module.exports = {
transpilePackages: ['@react-chess/chessground'],
reactStrictMode: false,
output: 'standalone',
async redirects() {
Expand Down Expand Up @@ -53,4 +50,4 @@ module.exports = withTM({
]
},
skipTrailingSlashRedirect: true,
})
}
Loading