Non puoi selezionare più di 25 argomenti Gli argomenti devono iniziare con una lettera o un numero, possono includere trattini ('-') e possono essere lunghi fino a 35 caratteri.
 
 
 

19 righe
465 B

  1. import { defineConfig, globalIgnores } from "eslint/config";
  2. import nextVitals from "eslint-config-next/core-web-vitals";
  3. import nextTs from "eslint-config-next/typescript";
  4. const eslintConfig = defineConfig([
  5. ...nextVitals,
  6. ...nextTs,
  7. // Override default ignores of eslint-config-next.
  8. globalIgnores([
  9. // Default ignores of eslint-config-next:
  10. ".next/**",
  11. "out/**",
  12. "build/**",
  13. "next-env.d.ts",
  14. ]),
  15. ]);
  16. export default eslintConfig;