mirror of
https://github.com/actualbudget/actual.git
synced 2026-03-09 06:03:01 -05:00
Fix lint violations (vol.2) (#6300)
* Fix lint violations * Refactor code for clarity and consistency - Updated various components to improve readability and maintainability, including: - Changed `while (1)` to `while (true)` for better clarity. - Simplified conditional checks by removing unnecessary boolean casts. - Added missing `key` props in mapped elements to ensure proper rendering in lists. - Adjusted the handling of hidden states in budget components for clearer logic. - Cleaned up linting rules in `.oxlintrc.json` to streamline configuration. * Fix unused variable warning in electronApp fixture * Fix linting comment in fixtures.ts
This commit is contained in:
committed by
GitHub
parent
9a9de5ee09
commit
1117451b69
@@ -10,12 +10,7 @@
|
||||
"jsx-a11y/prefer-tag-over-role": "off",
|
||||
"jsx-a11y/role-has-required-aria-props": "off",
|
||||
"jsx-a11y/tabindex-no-positive": "off",
|
||||
"no-async-promise-executor": "off",
|
||||
"no-autofocus": "off",
|
||||
"no-constant-condition": "off",
|
||||
"no-empty-pattern": "off",
|
||||
"no-extra-boolean-cast": "off",
|
||||
"react/jsx-key": "off",
|
||||
},
|
||||
"overrides": [
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user