mirror of
https://github.com/jangraefen/hcloud-pricing-exporter
synced 2024-09-20 06:22:03 +00:00
Adapt go linting
This commit is contained in:
parent
30bb17cc29
commit
bf2ae7a0f4
1 changed files with 30 additions and 28 deletions
|
@ -1,28 +1,30 @@
|
|||
linters:
|
||||
enable:
|
||||
- gosimple
|
||||
- govet
|
||||
- ineffassign
|
||||
- staticcheck
|
||||
- bodyclose
|
||||
- dupl
|
||||
- exportloopref
|
||||
- funlen
|
||||
- gocognit
|
||||
- goconst
|
||||
- gocritic
|
||||
- gocyclo
|
||||
- godot
|
||||
- gofmt
|
||||
- goprintffuncname
|
||||
- gosec
|
||||
- prealloc
|
||||
- revive
|
||||
- stylecheck
|
||||
- unconvert
|
||||
- whitespace
|
||||
|
||||
linters-settings:
|
||||
govet:
|
||||
check-shadowing: true
|
||||
enable-all: true
|
||||
linters:
|
||||
enable:
|
||||
- gosimple
|
||||
- govet
|
||||
- ineffassign
|
||||
- staticcheck
|
||||
- bodyclose
|
||||
- dupl
|
||||
- exportloopref
|
||||
- funlen
|
||||
- gocognit
|
||||
- goconst
|
||||
- gocritic
|
||||
- gocyclo
|
||||
- godot
|
||||
- gofmt
|
||||
- goprintffuncname
|
||||
- gosec
|
||||
- prealloc
|
||||
- revive
|
||||
- stylecheck
|
||||
- unconvert
|
||||
- whitespace
|
||||
|
||||
linters-settings:
|
||||
govet:
|
||||
check-shadowing: true
|
||||
enable-all: true
|
||||
disable:
|
||||
- fieldalignment
|
||||
|
|
Loading…
Reference in a new issue