From 82ab5dd1dc65b666df5a1c97482cf9592c9d4eb0 Mon Sep 17 00:00:00 2001 From: Tetiana Mohorian Date: Tue, 18 Mar 2025 20:33:24 +0000 Subject: [PATCH] Odstranit z1/frontend/eslint.config.js --- z1/frontend/eslint.config.js | 38 ------------------------------------ 1 file changed, 38 deletions(-) delete mode 100644 z1/frontend/eslint.config.js diff --git a/z1/frontend/eslint.config.js b/z1/frontend/eslint.config.js deleted file mode 100644 index 238d2e4..0000000 --- a/z1/frontend/eslint.config.js +++ /dev/null @@ -1,38 +0,0 @@ -import js from '@eslint/js' -import globals from 'globals' -import react from 'eslint-plugin-react' -import reactHooks from 'eslint-plugin-react-hooks' -import reactRefresh from 'eslint-plugin-react-refresh' - -export default [ - { ignores: ['dist'] }, - { - files: ['**/*.{js,jsx}'], - languageOptions: { - ecmaVersion: 2020, - globals: globals.browser, - parserOptions: { - ecmaVersion: 'latest', - ecmaFeatures: { jsx: true }, - sourceType: 'module', - }, - }, - settings: { react: { version: '18.3' } }, - plugins: { - react, - 'react-hooks': reactHooks, - 'react-refresh': reactRefresh, - }, - rules: { - ...js.configs.recommended.rules, - ...react.configs.recommended.rules, - ...react.configs['jsx-runtime'].rules, - ...reactHooks.configs.recommended.rules, - 'react/jsx-no-target-blank': 'off', - 'react-refresh/only-export-components': [ - 'warn', - { allowConstantExport: true }, - ], - }, - }, -]