| 12345678910111213141516171819 |
- 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,
- },
- },
- ]
|