Maxim Snesarev 3b3c88ed64 Integrate @next/eslint-plugin-next for enhanced linting support
- Added @next/eslint-plugin-next as a dependency in package.json.
- Updated eslint-config to include recommended rules and core web vitals from the Next.js plugin.
- Modified pnpm-lock.yaml to reflect new dependencies and their resolutions.
2026-04-03 00:23:02 +03:00

14 lines
298 B
JavaScript

import baseConfig from "./base.js";
import nextPlugin from "@next/eslint-plugin-next";
export default [
...baseConfig,
{
plugins: { "@next/next": nextPlugin },
rules: {
...nextPlugin.configs.recommended.rules,
...nextPlugin.configs["core-web-vitals"].rules,
},
},
];