Initial commit for project Spoon!
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
import nextPlugin from '@next/eslint-plugin-next';
|
||||
import { defineConfig } from 'eslint/config';
|
||||
|
||||
export const nextjsConfig = defineConfig({
|
||||
files: ['**/*.ts', '**/*.tsx'],
|
||||
plugins: {
|
||||
'@next/next': nextPlugin,
|
||||
},
|
||||
rules: {
|
||||
...nextPlugin.configs.recommended.rules,
|
||||
...nextPlugin.configs['core-web-vitals'].rules,
|
||||
// TypeError: context.getAncestors is not a function
|
||||
'@next/next/no-duplicate-head': 'off',
|
||||
},
|
||||
});
|
||||
Reference in New Issue
Block a user