From 0aa96ecaee91d87a757d3d0bdecbeef472228bb6 Mon Sep 17 00:00:00 2001 From: Matiss Janis Aboltins Date: Tue, 9 Dec 2025 21:39:50 +0000 Subject: [PATCH] Fix lint violations (vol.3) (#6301) * 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. * Enhance accessibility and linting compliance - Updated `.oxlintrc.json` to add a warning for `jsx-a11y/no-autofocus` and removed several disabled rules. - Added `aria-level` attributes to improve semantic structure in `Page.tsx`, `Modal.tsx`, and `ReportCardName.tsx`. - Replaced `