File tree Expand file tree Collapse file tree 2 files changed +5
-2
lines changed Expand file tree Collapse file tree 2 files changed +5
-2
lines changed Original file line number Diff line number Diff 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"
Original file line number Diff line number Diff 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
You can’t perform that action at this time.
0 commit comments