mirror of
https://github.com/Mic92/sops-nix.git
synced 2025-12-26 14:14:58 +08:00
enable more golangci-lint checks
This commit is contained in:
parent
a2b11a4b86
commit
1674c94dc0
1 changed files with 18 additions and 10 deletions
|
|
@ -1,12 +1,20 @@
|
|||
linters:
|
||||
presets:
|
||||
- bugs
|
||||
- unused
|
||||
enable:
|
||||
- gofmt
|
||||
- misspell
|
||||
- revive
|
||||
- stylecheck
|
||||
enable-all: true
|
||||
disable:
|
||||
# direnv is not a web server, context is not strictly necessary.
|
||||
- noctx
|
||||
- cyclop
|
||||
- depguard
|
||||
- dogsled
|
||||
- err113
|
||||
- exhaustruct
|
||||
- exportloopref
|
||||
- forbidigo
|
||||
- funlen
|
||||
- gocognit
|
||||
- gocyclo
|
||||
- godot
|
||||
- godox
|
||||
- lll
|
||||
- maintidx
|
||||
- mnd
|
||||
- nestif
|
||||
- varnamelen
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue