summaryrefslogtreecommitdiff
path: root/morsehero/eslint.config.js
diff options
context:
space:
mode:
authorYuval Adam <_@yuv.al>2025-03-05 12:21:25 +0100
committerYuval Adam <_@yuv.al>2025-03-05 12:21:25 +0100
commit5bf781f3ac381744fbec035f938d69a201f75fa4 (patch)
tree2ec82a90ce2cd1c279d77bdd6ca83b256ac4856a /morsehero/eslint.config.js
parentc6612a8b6dde5a5a9776d424ed33f5ca685699c6 (diff)
Replace all impl with vite
Diffstat (limited to 'morsehero/eslint.config.js')
-rw-r--r--morsehero/eslint.config.js28
1 files changed, 0 insertions, 28 deletions
diff --git a/morsehero/eslint.config.js b/morsehero/eslint.config.js
deleted file mode 100644
index 092408a..0000000
--- a/morsehero/eslint.config.js
+++ /dev/null
@@ -1,28 +0,0 @@
-import js from '@eslint/js'
-import globals from 'globals'
-import reactHooks from 'eslint-plugin-react-hooks'
-import reactRefresh from 'eslint-plugin-react-refresh'
-import tseslint from 'typescript-eslint'
-
-export default tseslint.config(
- { ignores: ['dist'] },
- {
- extends: [js.configs.recommended, ...tseslint.configs.recommended],
- files: ['**/*.{ts,tsx}'],
- languageOptions: {
- ecmaVersion: 2020,
- globals: globals.browser,
- },
- plugins: {
- 'react-hooks': reactHooks,
- 'react-refresh': reactRefresh,
- },
- rules: {
- ...reactHooks.configs.recommended.rules,
- 'react-refresh/only-export-components': [
- 'warn',
- { allowConstantExport: true },
- ],
- },
- },
-)