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

+1-1
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

+2-2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pkg/config/linters_settings.go

+2-1
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

+2
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

+1
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)