diff --git a/.eslintrc.cjs b/.eslintrc.cjs deleted file mode 100644 index 8b7a0e8..0000000 --- a/.eslintrc.cjs +++ /dev/null @@ -1,35 +0,0 @@ -// eslint-disable-next-line @typescript-eslint/no-var-requires -const path = require("path"); - -/** @type {import("eslint").Linter.Config} */ -const config = { - overrides: [ - { - extends: [ - "plugin:@typescript-eslint/recommended-requiring-type-checking", - ], - files: ["*.ts", "*.tsx"], - parserOptions: { - project: path.join(__dirname, "tsconfig.json"), - }, - }, - ], - parser: "@typescript-eslint/parser", - parserOptions: { - project: path.join(__dirname, "tsconfig.json"), - }, - plugins: ["@typescript-eslint"], - extends: ["next/core-web-vitals", "plugin:@typescript-eslint/recommended"], - rules: { - "@typescript-eslint/consistent-type-imports": [ - "warn", - { - prefer: "type-imports", - fixStyle: "inline-type-imports", - }, - ], - "@typescript-eslint/no-unused-vars": ["warn", { argsIgnorePattern: "^_" }], - }, -}; - -module.exports = config;