mirror of
https://github.com/scratchfoundation/golangci-lint.git
synced 2025-08-28 22:28:43 -04:00
misspell: add mode option (#4275)
This commit is contained in:
parent
95bc7a8546
commit
d99c02cde0
3 changed files with 30 additions and 12 deletions
|
@ -659,8 +659,9 @@ type MalignedSettings struct {
|
|||
}
|
||||
|
||||
type MisspellSettings struct {
|
||||
Mode string `mapstructure:"mode"`
|
||||
Locale string
|
||||
// TODO(ldez): v2 the options must be renamed to `IgnoredRules`.
|
||||
// TODO(ldez): v2 the option must be renamed to `IgnoredRules`.
|
||||
IgnoreWords []string `mapstructure:"ignore-words"`
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue