Skip to content

Commit fbfd988

Browse files
committed
ci(lint): enable misspell linter (phase 1 of #602)
The codebase already has zero misspellings, so this is a config-only change. Adds ignore-words for Apple/ASC domain terms (cancelled, cancelling) to prevent false positives.
1 parent c5018df commit fbfd988

File tree

1 file changed

+10
-2
lines changed

1 file changed

+10
-2
lines changed

.golangci.yml

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,16 @@ linters:
1212
- errcheck
1313
- ineffassign
1414
- unused
15-
# (intentionally NOT enabling `misspell` or `unparam` yet; both create large
16-
# cleanup churn with current codebase conventions)
15+
- misspell
16+
# (intentionally NOT enabling `unparam` yet; creates large cleanup churn
17+
# with current codebase conventions)
18+
19+
linters-settings:
20+
misspell:
21+
# Words used intentionally in Apple/ASC API context.
22+
ignore-words:
23+
- cancelled
24+
- cancelling
1725

1826
issues:
1927
# Keep defaults, but avoid noisy duplicates.

0 commit comments

Comments
 (0)