Commit Graph

2 Commits

Author SHA1 Message Date
Jose Selesan
15c77c07cf fix(lint): resolve Biome errors and migrate config
- migrate biome.json to schema 2.5.10 (preset instead of recommended)
- apply safe fixes: formatting, import organization, unused imports/vars
- use node:crypto import protocol
- drop unused catch bindings
- a11y: associate labels with controls via htmlFor/id (add optional id to
  DatePicker), hide decorative SVGs from AT, and replace the custom
  role="checkbox" button with a native checkbox input
- remove unnecessary pageSize dependency from useMemo
2026-10-14 12:44:07 -03:00
Jose Selesan
5b6ccf0fa6 chore: add Biome for lint and fix all lint errors
- Install @biomejs/biome as devDependency at root
- Configure biome.json with 2-space indent, double quotes, Tailwind CSS support
- Add lint/lint:fix/format/format:fix scripts to root and app package.json
- Fix noNonNullAssertion: env vars extracted to variables with suppression, <div role=button> replaced with <button>
- Fix noUnusedVariables: remove unused destructured vars
- Fix useIterableCallbackReturn: arrow functions with block body
- Fix noExplicitAny: recharts Tooltip formatters
- Fix noLabelWithoutControl: add htmlFor+id or use <span> for non-input labels
- Fix noStaticElementInteractions/useKeyWithClickEvents: role+keyboard events for overlays
- Fix noArrayIndexKey: use error string as key
- Fix CSS parse: enable tailwindDirectives parser
- Normalize formatting across 80 files with biome check --write
2026-06-04 10:48:07 -03:00