From 46bc35f9693571d2e9af1c350fa193a81a2b3056 Mon Sep 17 00:00:00 2001 From: Pritam Kundu <75939390+warmachine028@users.noreply.github.com> Date: Tue, 3 Sep 2024 18:26:59 +0530 Subject: [PATCH] Delete client/eslint.config.mjs --- client/eslint.config.mjs | 40 ---------------------------------------- 1 file changed, 40 deletions(-) delete mode 100644 client/eslint.config.mjs diff --git a/client/eslint.config.mjs b/client/eslint.config.mjs deleted file mode 100644 index 459c604..0000000 --- a/client/eslint.config.mjs +++ /dev/null @@ -1,40 +0,0 @@ -import globals from 'globals' -import eslintConfigPrettier from 'eslint-config-prettier' -import eslintConfigNext from 'eslint-config-next' -import reactCompiler from 'eslint-plugin-react-compiler' -import js from '@eslint/js' - -export default [ - js.configs.recommended, - eslintConfigPrettier, - eslintConfigNext, - { - files: ['**/*.{ts,tsx,js,jsx}'], - ignores: ['.next', 'node_modules', 'public', 'future'], - languageOptions: { - globals: globals.browser, - parserOptions: { - ecmaVersion: 'latest', - ecmaFeatures: { jsx: true }, - sourceType: 'module' - } - }, - plugins: { - 'eslint-plugin-react-compiler': reactCompiler - }, - rules: { - 'no-console': 'warn', - 'react-compiler/react-compiler': 'error', - 'no-unused-vars': [ - 'warn', - { - vars: 'all', - args: 'after-used', - caughtErrors: 'all', - ignoreRestSiblings: false, - reportUsedIgnorePattern: false - } - ] - } - } -];