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:
Matiss Janis Aboltins
2025-12-08 16:39:27 +00:00
committed by GitHub
parent 9a9de5ee09
commit 1117451b69
16 changed files with 49 additions and 37 deletions

View File

@@ -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": [
{