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:
1361
1361
# Setting locale to US will correct the British spelling of 'colour' to 'color'.
1362
1362
# Default is to use a neutral variety of English.
1363
1363
locale : US
1364
+ # Typos to ignore.
1365
+ # Should be in lower case.
1364
1366
# Default: []
1365
1367
ignore-words :
1366
1368
- someword
1367
1369
# Extra word corrections.
1368
1370
# `typo` and `correction` should only contain letters.
1371
+ # The words are case-insensitive.
1369
1372
# Default: []
1370
1373
extra-words :
1371
1374
- typo : " iff"
Original file line number Diff line number Diff line change @@ -17,8 +17,8 @@ func Test_appendExtraWords(t *testing.T) {
17
17
Correction : "if" ,
18
18
},
19
19
{
20
- Typo : "cancelation " ,
21
- Correction : "cancellation " ,
20
+ Typo : "canCELation " ,
21
+ Correction : "canceLLaTION " ,
22
22
},
23
23
}
24
24
You can’t perform that action at this time.
0 commit comments