18 lines
367 B
JavaScript
18 lines
367 B
JavaScript
import { FlatCompat } from '@eslint/eslintrc';
|
|
|
|
const compat = new FlatCompat({
|
|
baseDirectory: import.meta.dirname,
|
|
});
|
|
|
|
const nextEslintConfig = [
|
|
...compat.config({
|
|
extends: ['next/core-web-vitals', 'next/typescript'],
|
|
rules: {
|
|
'@next/next/no-html-link-for-pages': 'off',
|
|
'no-undef': 'off',
|
|
},
|
|
}),
|
|
];
|
|
|
|
export default nextEslintConfig;
|