Problem
The latest VCQA scan shows lint as one of the weakest categories.
Scan context:
- Command:
pnpm vcqa
- Lint score:
D 45/100
- 300 lint issues
Dominant findings from the report:
- 182x
Unexpected any. Specify a different type.
- 54x
Avoid the use of the !important style.
- 14x unused import groups.
- 10x optional-chain simplifications.
- Several hook dependency and static-element interaction warnings.
This overlaps with narrower tickets for hook order and accessibility, but the any and !important counts are large enough to track separately.
Acceptance criteria
- Replace broad
any with specific types, unknown plus narrowing, or intentional helper types where appropriate.
- Remove avoidable
!important; move remaining cases behind documented design-system exceptions.
- Remove unused imports and no-op suppression comments.
- Do not paper over issues with broad lint disables.
pnpm lint improves materially.
pnpm vcqa lint score improves from the current D 45/100 baseline.
Notes
Keep this ticket focused on mechanical lint/type cleanup. React hook-order and accessibility bugs are tracked separately.
Problem
The latest VCQA scan shows
lintas one of the weakest categories.Scan context:
pnpm vcqaD 45/100Dominant findings from the report:
Unexpected any. Specify a different type.Avoid the use of the !important style.This overlaps with narrower tickets for hook order and accessibility, but the
anyand!importantcounts are large enough to track separately.Acceptance criteria
anywith specific types,unknownplus narrowing, or intentional helper types where appropriate.!important; move remaining cases behind documented design-system exceptions.pnpm lintimproves materially.pnpm vcqalint score improves from the currentD 45/100baseline.Notes
Keep this ticket focused on mechanical lint/type cleanup. React hook-order and accessibility bugs are tracked separately.