79577022

Date: 2025-04-16 11:11:42
Score: 1.5
Natty:
Report link

If you are using ESLint 9's Flat Config, please configure it like this:

import { flatConfig as pluginNext } from '@next/eslint-plugin-next';

export default [
    // ...
    pluginNext.coreWebVitals,
    // ...
];

Why write it this way? Take a look at the @next/eslint-plugin-next source code. It's very easy to understand.

Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Low reputation (1):
Posted by: Jynxio