Skip to content

Commit 53336c1

Browse files
committed
review
1 parent ca4bb50 commit 53336c1

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

.golangci.reference.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1366,6 +1366,7 @@ linters-settings:
13661366
- someword
13671367
# Extra word corrections.
13681368
# `typo` and `correction` should only contain letters.
1369+
# The words are case-insensitive.
13691370
# Default: []
13701371
extra-words:
13711372
- typo: "iff"

pkg/golinters/misspell_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@ func Test_appendExtraWords(t *testing.T) {
1717
Correction: "if",
1818
},
1919
{
20-
Typo: "cancelation",
21-
Correction: "cancellation",
20+
Typo: "canCELation",
21+
Correction: "canceLLaTION",
2222
},
2323
}
2424

0 commit comments

Comments
 (0)