mirror of
https://github.com/spf13/cobra
synced 2025-06-07 12:57:18 +00:00
chore(golangci-lint): add some exclusion presets
To avoid cropping up new findings for commonly ignored issues for now.
This commit is contained in:
parent
4af7b64d31
commit
c8289c1030
1 changed files with 5 additions and 0 deletions
|
@ -52,3 +52,8 @@ linters:
|
||||||
#- unparam
|
#- unparam
|
||||||
- unused
|
- unused
|
||||||
#- whitespace
|
#- whitespace
|
||||||
|
exclusions:
|
||||||
|
presets:
|
||||||
|
- common-false-positives
|
||||||
|
- legacy
|
||||||
|
- std-error-handling
|
||||||
|
|
Loading…
Add table
Reference in a new issue