mirror of
https://github.com/scratchfoundation/golangci-lint.git
synced 2025-06-02 16:05:26 -04:00
build(deps): bump github.com/golangci/misspell 0.4.0 to 0.4.1 (#3918)
This commit is contained in:
parent
28f056032c
commit
cecd497d87
5 changed files with 8 additions and 4 deletions
2
go.mod
2
go.mod
|
@ -42,7 +42,7 @@ require (
|
||||||
github.com/golangci/gofmt v0.0.0-20220901101216-f2edd75033f2
|
github.com/golangci/gofmt v0.0.0-20220901101216-f2edd75033f2
|
||||||
github.com/golangci/lint-1 v0.0.0-20191013205115-297bf364a8e0
|
github.com/golangci/lint-1 v0.0.0-20191013205115-297bf364a8e0
|
||||||
github.com/golangci/maligned v0.0.0-20180506175553-b1d89398deca
|
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/revgrep v0.0.0-20220804021717-745bb2f7c2e6
|
||||||
github.com/golangci/unconvert v0.0.0-20180507085042-28b1c447d1f4
|
github.com/golangci/unconvert v0.0.0-20180507085042-28b1c447d1f4
|
||||||
github.com/gordonklaus/ineffassign v0.0.0-20230610083614-0e73809eb601
|
github.com/gordonklaus/ineffassign v0.0.0-20230610083614-0e73809eb601
|
||||||
|
|
4
go.sum
generated
4
go.sum
generated
|
@ -223,8 +223,8 @@ github.com/golangci/lint-1 v0.0.0-20191013205115-297bf364a8e0 h1:MfyDlzVjl1hoaPz
|
||||||
github.com/golangci/lint-1 v0.0.0-20191013205115-297bf364a8e0/go.mod h1:66R6K6P6VWk9I95jvqGxkqJxVWGFy9XlDwLwVz1RCFg=
|
github.com/golangci/lint-1 v0.0.0-20191013205115-297bf364a8e0/go.mod h1:66R6K6P6VWk9I95jvqGxkqJxVWGFy9XlDwLwVz1RCFg=
|
||||||
github.com/golangci/maligned v0.0.0-20180506175553-b1d89398deca h1:kNY3/svz5T29MYHubXix4aDDuE3RWHkPvopM/EDv/MA=
|
github.com/golangci/maligned v0.0.0-20180506175553-b1d89398deca h1:kNY3/svz5T29MYHubXix4aDDuE3RWHkPvopM/EDv/MA=
|
||||||
github.com/golangci/maligned v0.0.0-20180506175553-b1d89398deca/go.mod h1:tvlJhZqDe4LMs4ZHD0oMUlt9G2LWuDGoisJTBzLMV9o=
|
github.com/golangci/maligned v0.0.0-20180506175553-b1d89398deca/go.mod h1:tvlJhZqDe4LMs4ZHD0oMUlt9G2LWuDGoisJTBzLMV9o=
|
||||||
github.com/golangci/misspell v0.4.0 h1:KtVB/hTK4bbL/S6bs64rYyk8adjmh1BygbBiaAiX+a0=
|
github.com/golangci/misspell v0.4.1 h1:+y73iSicVy2PqyX7kmUefHusENlrP9YwuHZHPLGQj/g=
|
||||||
github.com/golangci/misspell v0.4.0/go.mod h1:W6O/bwV6lGDxUCChm2ykw9NQdd5bYd1Xkjo88UcWyJc=
|
github.com/golangci/misspell v0.4.1/go.mod h1:9mAN1quEo3DlpbaIKKyEvRxK1pwqR9s/Sea1bJCtlNI=
|
||||||
github.com/golangci/revgrep v0.0.0-20220804021717-745bb2f7c2e6 h1:DIPQnGy2Gv2FSA4B/hh8Q7xx3B7AIDk3DAMeHclH1vQ=
|
github.com/golangci/revgrep v0.0.0-20220804021717-745bb2f7c2e6 h1:DIPQnGy2Gv2FSA4B/hh8Q7xx3B7AIDk3DAMeHclH1vQ=
|
||||||
github.com/golangci/revgrep v0.0.0-20220804021717-745bb2f7c2e6/go.mod h1:0AKcRCkMoKvUvlf89F6O7H2LYdhr1zBh736mBItOdRs=
|
github.com/golangci/revgrep v0.0.0-20220804021717-745bb2f7c2e6/go.mod h1:0AKcRCkMoKvUvlf89F6O7H2LYdhr1zBh736mBItOdRs=
|
||||||
github.com/golangci/unconvert v0.0.0-20180507085042-28b1c447d1f4 h1:zwtduBRr5SSWhqsYNgcuWO2kFlpdOZbP0+yRjmvPGys=
|
github.com/golangci/unconvert v0.0.0-20180507085042-28b1c447d1f4 h1:zwtduBRr5SSWhqsYNgcuWO2kFlpdOZbP0+yRjmvPGys=
|
||||||
|
|
|
@ -610,6 +610,7 @@ type MalignedSettings struct {
|
||||||
|
|
||||||
type MisspellSettings struct {
|
type MisspellSettings struct {
|
||||||
Locale string
|
Locale string
|
||||||
|
// TODO(ldez): v2 the options must be renamed to `IgnoredRules`.
|
||||||
IgnoreWords []string `mapstructure:"ignore-words"`
|
IgnoreWords []string `mapstructure:"ignore-words"`
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
2
test/testdata/configs/misspell.yml
vendored
2
test/testdata/configs/misspell.yml
vendored
|
@ -1,4 +1,6 @@
|
||||||
linters-settings:
|
linters-settings:
|
||||||
misspell:
|
misspell:
|
||||||
|
locale: US
|
||||||
ignore-words:
|
ignore-words:
|
||||||
- langauge
|
- langauge
|
||||||
|
- Dialogue
|
||||||
|
|
1
test/testdata/misspell.go
vendored
1
test/testdata/misspell.go
vendored
|
@ -7,3 +7,4 @@ func Misspell() {
|
||||||
}
|
}
|
||||||
|
|
||||||
// the word langauge should be ignored here: it's set in config
|
// the word langauge should be ignored here: it's set in config
|
||||||
|
// the word Dialogue should be ignored here: it's set in config
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue