diff --git a/.eslintrc.json b/.eslintrc.json new file mode 100644 index 0000000..9e6b2cb --- /dev/null +++ b/.eslintrc.json @@ -0,0 +1,11 @@ +{ + "extends": [ + "next/core-web-vitals", + "next/typescript" + ], + "rules": { + "@typescript-eslint/no-explicit-any": "off", + "@next/next/no-img-element": "off", + "react-hooks/exhaustive-deps": "off" + } +} diff --git a/eslint.config.js b/eslint.config.js deleted file mode 100644 index 025fe3d..0000000 --- a/eslint.config.js +++ /dev/null @@ -1,25 +0,0 @@ -import js from "@eslint/js" -import globals from "globals" -import tseslint from "typescript-eslint" - -export default tseslint.config( - { ignores: [".next"] }, - { - extends: [ - js.configs.recommended, - ...tseslint.configs.recommended, - "next/core-web-vitals", - "next/typescript", - ], - files: ["**/*.{ts,tsx}"], - languageOptions: { - ecmaVersion: 2020, - globals: globals.browser, - }, - rules: { - "@typescript-eslint/no-explicit-any": "off", - "@next/next/no-img-element": "off", - "react-hooks/exhaustive-deps": "off", - }, - }, -)