✨ Linter to CI
This commit is contained in:
parent
b7be167dd7
commit
9e15f29efb
2 changed files with 21 additions and 0 deletions
16
.golangci.yaml
Normal file
16
.golangci.yaml
Normal file
|
@ -0,0 +1,16 @@
|
|||
linters:
|
||||
enable-all: true
|
||||
disable:
|
||||
# Deprecated
|
||||
- varcheck
|
||||
- ifshort
|
||||
- interfacer
|
||||
- maligned
|
||||
- deadcode
|
||||
- scopelint
|
||||
- golint
|
||||
- structcheck
|
||||
- exhaustivestruct
|
||||
- nosnakecase
|
||||
# To extremist
|
||||
- depguard
|
5
.woodpecker/lint.yml
Normal file
5
.woodpecker/lint.yml
Normal file
|
@ -0,0 +1,5 @@
|
|||
steps:
|
||||
lint:
|
||||
image: golangci/golangci-lint
|
||||
commands:
|
||||
- golangci-lint run
|
Loading…
Reference in a new issue