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
9 changes: 8 additions & 1 deletion python/packages/devui/frontend/eslint.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,14 +12,21 @@ export default tseslint.config([
extends: [
js.configs.recommended,
tseslint.configs.recommended,
reactHooks.configs['recommended-latest'],
reactRefresh.configs.vite,
],
plugins: {
'react-hooks': reactHooks,
},
languageOptions: {
ecmaVersion: 2020,
globals: globals.browser,
},
rules: {
'react-hooks/rules-of-hooks': 'error',
'react-hooks/exhaustive-deps': 'warn',
// Preserve the existing lint policy while moving the ESLint toolchain to v10.
'no-useless-assignment': 'off',
'preserve-caught-error': 'off',
// Allow exporting constants alongside components in specific patterns
// This is common for shadcn/ui components (buttonVariants) and form utilities
'react-refresh/only-export-components': [
Expand Down
Loading
Loading