Enhance EntryTraceDialog component by refactoring data display logic into dedicated summary functions for improved readability and maintainability. Update GridTab to streamline checkbox state management with a new toggle function. Refactor RulesCard to simplify window removal logic. Adjust CollectionsPanel, GenresPanel, GroupsPanel, RolesPanel, ShowsPanel, and UsersPanel to import sorting utilities from a centralized location, enhancing code organization. Update ThemeProvider to utilize a shared theme context for better consistency across the application.
This commit is contained in:
+11
-1
@@ -4,5 +4,15 @@
|
||||
"rules": {
|
||||
"react/rules-of-hooks": "error",
|
||||
"react/only-export-components": ["warn", { "allowConstantExport": true }]
|
||||
}
|
||||
},
|
||||
"overrides": [
|
||||
{
|
||||
// File-based routing TanStack Router: файл роута обязан экспортировать `Route` рядом с
|
||||
// компонентом страницы — правило тут неисполнимо в принципе.
|
||||
"files": ["src/routes/**"],
|
||||
"rules": {
|
||||
"react/only-export-components": "off"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user