Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 0 additions & 11 deletions eslint.config.js
Original file line number Diff line number Diff line change
@@ -1,10 +1,8 @@
import js from '@eslint/js'
import globals from 'globals'
import tseslint from 'typescript-eslint'
import reactPlugin from 'eslint-plugin-react'
import reactHooks from 'eslint-plugin-react-hooks'
import reactRefresh from 'eslint-plugin-react-refresh'
import jsxA11y from 'eslint-plugin-jsx-a11y'
import vitest from '@vitest/eslint-plugin'
import { defineConfig, globalIgnores } from 'eslint/config'

Expand All @@ -21,11 +19,8 @@ export default defineConfig([
files: ['**/*.{js,jsx,ts,tsx}'],
extends: [
js.configs.recommended,
reactPlugin.configs.flat.recommended,
reactPlugin.configs.flat['jsx-runtime'],
reactHooks.configs.flat.recommended,
reactRefresh.configs.vite,
jsxA11y.flatConfigs.recommended,
],
languageOptions: {
ecmaVersion: 2020,
Expand All @@ -36,11 +31,6 @@ export default defineConfig([
sourceType: 'module',
},
},
settings: {
react: {
version: 'detect',
},
},
rules: {
// Industry-standard: only ignore underscore-prefixed variables (intentionally unused)
'no-unused-vars': ['error', {
Expand All @@ -52,7 +42,6 @@ export default defineConfig([
destructuredArrayIgnorePattern: '^_',
ignoreRestSiblings: true,
}],
'react/prop-types': 'off', // Using modern React without PropTypes (TypeScript is the modern alternative)
// Disable React Compiler rule - not using React Compiler in this project.
// useLayoutEffect + setState is a valid pattern per React docs (e.g., tooltip positioning).
'react-hooks/set-state-in-effect': 'off',
Expand Down
Loading