mirror of
https://github.com/RooVetGit/Roo-Code.git
synced 2026-09-07 08:26:51 +00:00
22 lines
418 B
JavaScript
22 lines
418 B
JavaScript
import pluginNext from '@next/eslint-plugin-next';
|
|
|
|
import { reactConfig } from './react.js';
|
|
|
|
/**
|
|
* @type {import("eslint").Linter.Config[]}
|
|
*/
|
|
export const nextJsConfig = [
|
|
...reactConfig,
|
|
{
|
|
ignores: ['.next/**'],
|
|
},
|
|
{
|
|
plugins: {
|
|
'@next/next': pluginNext,
|
|
},
|
|
rules: {
|
|
...pluginNext.configs.recommended.rules,
|
|
...pluginNext.configs['core-web-vitals'].rules,
|
|
},
|
|
},
|
|
];
|