From 6ec68bcc83be2e2bfb0226f9c9f4110f508985e5 Mon Sep 17 00:00:00 2001 From: bender Date: Fri, 17 Apr 2026 21:16:16 +0000 Subject: [PATCH] Switch to version 1: remove eslint.config.mjs --- eslint.config.mjs | 55 ----------------------------------------------- 1 file changed, 55 deletions(-) delete mode 100644 eslint.config.mjs diff --git a/eslint.config.mjs b/eslint.config.mjs deleted file mode 100644 index aa5b4fa..0000000 --- a/eslint.config.mjs +++ /dev/null @@ -1,55 +0,0 @@ -import tseslint from "typescript-eslint"; -import reactPlugin from "eslint-plugin-react"; -import reactHooksPlugin from "eslint-plugin-react-hooks"; -import nextPlugin from "@next/eslint-plugin-next"; - -export default tseslint.config( - ...tseslint.configs.recommended, - { - files: ["**/*.{js,jsx,ts,tsx}"], - rules: { - "@typescript-eslint/no-unused-vars": "warn", - "@typescript-eslint/no-unused-expressions": "warn", - "@typescript-eslint/no-explicit-any": "off", - }, - }, - { - files: ["src/app/*.{js,jsx,ts,tsx}"], - plugins: { - react: reactPlugin, - "react-hooks": reactHooksPlugin, - "@next/next": nextPlugin, - }, - languageOptions: { - ecmaVersion: "latest", - sourceType: "module", - parserOptions: { - ecmaFeatures: { - jsx: true, - }, - }, - }, - settings: { - react: { - version: "detect", - }, - }, - rules: { - ...reactPlugin.configs["jsx-runtime"].rules, - ...reactHooksPlugin.configs.recommended.rules, - ...nextPlugin.configs.recommended.rules, - ...nextPlugin.configs["core-web-vitals"].rules, - "react/no-unescaped-entities": "off", - "@typescript-eslint/no-explicit-any": "off", - }, - }, - { - ignores: [ - "node_modules/**", - ".next/**", - "out/**", - "build/**", - "next-env.d.ts", - ], - } -);