Skip to content

build(deps): bump github.com/golangci/misspell 0.4.0 to 0.4.1 #3918

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Jun 19, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ require (
github.com/golangci/gofmt v0.0.0-20220901101216-f2edd75033f2
github.com/golangci/lint-1 v0.0.0-20191013205115-297bf364a8e0
github.com/golangci/maligned v0.0.0-20180506175553-b1d89398deca
github.com/golangci/misspell v0.4.0
github.com/golangci/misspell v0.4.1
github.com/golangci/revgrep v0.0.0-20220804021717-745bb2f7c2e6
github.com/golangci/unconvert v0.0.0-20180507085042-28b1c447d1f4
github.com/gordonklaus/ineffassign v0.0.0-20230610083614-0e73809eb601
Expand Down
4 changes: 2 additions & 2 deletions go.sum

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion pkg/config/linters_settings.go
Original file line number Diff line number Diff line change
Expand Up @@ -609,7 +609,8 @@ type MalignedSettings struct {
}

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

Expand Down
2 changes: 2 additions & 0 deletions test/testdata/configs/misspell.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
linters-settings:
misspell:
locale: US
ignore-words:
- langauge
- Dialogue
1 change: 1 addition & 0 deletions test/testdata/misspell.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,4 @@ func Misspell() {
}

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