Fix the oxlint errors and turn the oxlint hook back on #107
Labels
No labels
bug
chore
data
feature
frontend
good first issue
intermediate
needs/docs
needs/research
needs/upstream
type/bug
type/external
type/feature
type/refactor
urgency
high
urgency
immediate
urgency
low
urgency
medium
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
ScottyLabs/cal#107
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
The kennel flake module runs oxlint on every commit, with ScottyLabs' landmines and anti-slop rules. It reports 431 errors on
web/, so #104 turns the hook off (oxlint.enable = lib.mkForce falseinflake.nix).Most are mechanical:==to===, unused imports and variables, comments inline with code,asyncfunctions with noawait, missinguregex flags,charCodeAttocodePointAt.Where to start-nix develop, thenprek run oxlint --all-fileslists them. oxlint applies the safe fixes itself.- Split it into a few PRs by folder (web/src/app/utils,web/src/app/components,web/src/server), so each stays reviewable.Done when- [ ]prek run oxlint --all-filespasses- [ ] theoxlint.enableoverride is removed fromflake.nix- [ ].oxlintrc.jsonat the root extends.scottylabs/oxlint/oxlintrc.json(kennel requires it)