mirror of
https://github.com/Mic92/sops-nix.git
synced 2026-07-17 06:25:16 +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:
|
linters:
|
||||||
presets:
|
enable-all: true
|
||||||
- bugs
|
|
||||||
- unused
|
|
||||||
enable:
|
|
||||||
- gofmt
|
|
||||||
- misspell
|
|
||||||
- revive
|
|
||||||
- stylecheck
|
|
||||||
disable:
|
disable:
|
||||||
# direnv is not a web server, context is not strictly necessary.
|
- cyclop
|
||||||
- noctx
|
- 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