lint: type-checked eslint rules #7
Inga granskare
Etiketter
Inga etiketter
area/backups
area/ci
area/control-panel
area/identity
area/infra
area/observability
area/payments
area/security
area/storage
area/web
blocked
needs-info
needs-triage
ready-for-implementation
type
bug
type
chore
type
docs
type
epic
type
feature
type
task
wontfix
Ingen milstolpe
Inget projekt
Inga tilldelade
1 deltagare
Notiser
Förfallodatum
Inget förfallodatum satt.
Beroenden
Inga beroenden satta
Referens
bitborg/bitborg-reconcile-trigger!7
Läser in…
Hänvisa till i nytt ärende
Ingen beskrivning angiven.
Ta bort grenen "lint/type-checked"
Borttagning av en gren är permanent. Även om den borttagna grenen kan fortsätta existera en kort tid innan den faktiskt tas bort, kan det INTE ångras i de flesta fall. Vill du fortsätta?
Enables typescript-eslint's
recommendedTypeChecked(#59), for parity with the sibling service repos.This repo was already clean — zero findings. That is a genuine result rather than a non-event: the
rules that fired elsewhere (
no-unsafe-enum-comparisonon bitborg-payment's refund path,require-awaitacross bitborg-auth-reconciler's test fakes) found nothing to complain about here, sothe config lands with no code changes at all.
Included anyway so the three service repos share one lint baseline. Otherwise the next module added
here would be the first to be type-checked, and would arrive with a backlog attached.
parserOptions.projectServicewithallowDefaultProjectfor the root config files (*.mjs,vitest.config.ts), which otherwise fail to parse rather than being lintedWhy
recommendedTypeCheckedand notstrictTypeCheckedThe stricter tier is declared non-stable upstream, and its
no-unnecessary-conditionrule fires onexactly the defensive guards that protect untrusted runtime data. Not worth the false-positive tax.
Refs #59