Skip to content

Commit

Permalink
review
Browse files Browse the repository at this point in the history
  • Loading branch information
ldez committed Feb 20, 2024
1 parent ca4bb50 commit 53336c1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions .golangci.reference.yml
Original file line number Diff line number Diff line change
Expand Up @@ -1366,6 +1366,7 @@ linters-settings:
- someword
# Extra word corrections.
# `typo` and `correction` should only contain letters.
# The words are case-insensitive.
# Default: []
extra-words:
- typo: "iff"
Expand Down
4 changes: 2 additions & 2 deletions pkg/golinters/misspell_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@ func Test_appendExtraWords(t *testing.T) {
Correction: "if",
},
{
Typo: "cancelation",
Correction: "cancellation",
Typo: "canCELation",
Correction: "canceLLaTION",
},
}

Expand Down

0 comments on commit 53336c1

Please sign in to comment.