mirror of
https://github.com/RooVetGit/Roo-Code.git
synced 2026-08-28 05:27:24 +00:00
19 lines
359 B
JavaScript
19 lines
359 B
JavaScript
import pluginNext from "@next/eslint-plugin-next"
|
|
|
|
import { reactConfig } from "./react.js"
|
|
|
|
/**
|
|
* @type {import("eslint").Linter.Config[]}
|
|
*/
|
|
export const nextJsConfig = [
|
|
...reactConfig,
|
|
{
|
|
plugins: {
|
|
"@next/next": pluginNext,
|
|
},
|
|
rules: {
|
|
...pluginNext.configs.recommended.rules,
|
|
...pluginNext.configs["core-web-vitals"].rules,
|
|
},
|
|
},
|
|
]
|