Skip to content

Commit cecd497

Browse files
authored
build(deps): bump github.com/golangci/misspell 0.4.0 to 0.4.1 (#3918)
1 parent 28f0560 commit cecd497

File tree

5 files changed

+8
-4
lines changed

5 files changed

+8
-4
lines changed

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ require (
4242
github.com/golangci/gofmt v0.0.0-20220901101216-f2edd75033f2
4343
github.com/golangci/lint-1 v0.0.0-20191013205115-297bf364a8e0
4444
github.com/golangci/maligned v0.0.0-20180506175553-b1d89398deca
45-
github.com/golangci/misspell v0.4.0
45+
github.com/golangci/misspell v0.4.1
4646
github.com/golangci/revgrep v0.0.0-20220804021717-745bb2f7c2e6
4747
github.com/golangci/unconvert v0.0.0-20180507085042-28b1c447d1f4
4848
github.com/gordonklaus/ineffassign v0.0.0-20230610083614-0e73809eb601

go.sum

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pkg/config/linters_settings.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -609,7 +609,8 @@ type MalignedSettings struct {
609609
}
610610

611611
type MisspellSettings struct {
612-
Locale string
612+
Locale string
613+
// TODO(ldez): v2 the options must be renamed to `IgnoredRules`.
613614
IgnoreWords []string `mapstructure:"ignore-words"`
614615
}
615616

test/testdata/configs/misspell.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
linters-settings:
22
misspell:
3+
locale: US
34
ignore-words:
45
- langauge
6+
- Dialogue

test/testdata/misspell.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,3 +7,4 @@ func Misspell() {
77
}
88

99
// the word langauge should be ignored here: it's set in config
10+
// the word Dialogue should be ignored here: it's set in config

0 commit comments

Comments
 (0)