B2B-88: add starter kit structure and elements
This commit is contained in:
17
tooling/eslint/nextjs.js
Normal file
17
tooling/eslint/nextjs.js
Normal file
@@ -0,0 +1,17 @@
|
||||
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;
|
||||
Reference in New Issue
Block a user