You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

16 lines
393 B

  1. import { dirname } from "path";
  2. import { fileURLToPath } from "url";
  3. import { FlatCompat } from "@eslint/eslintrc";
  4. const __filename = fileURLToPath(import.meta.url);
  5. const __dirname = dirname(__filename);
  6. const compat = new FlatCompat({
  7. baseDirectory: __dirname,
  8. });
  9. const eslintConfig = [
  10. ...compat.extends("next/core-web-vitals", "next/typescript"),
  11. ];
  12. export default eslintConfig;