- 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.
14 lines
298 B
JavaScript
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,
|
|
},
|
|
},
|
|
];
|