Skip to content

Commit 5e4dffc

Browse files
committed
review
1 parent ca4bb50 commit 5e4dffc

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

.golangci.reference.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1361,11 +1361,14 @@ linters-settings:
13611361
# Setting locale to US will correct the British spelling of 'colour' to 'color'.
13621362
# Default is to use a neutral variety of English.
13631363
locale: US
1364+
# Typos to ignore.
1365+
# Should be in lower case.
13641366
# Default: []
13651367
ignore-words:
13661368
- someword
13671369
# Extra word corrections.
13681370
# `typo` and `correction` should only contain letters.
1371+
# The words are case-insensitive.
13691372
# Default: []
13701373
extra-words:
13711374
- 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)