mirror of
https://github.com/yggdrasil-network/yggdrasil-go.git
synced 2026-05-22 05:46:30 +03:00
Linter update & fixes
This commit is contained in:
@@ -1,11 +1,18 @@
|
||||
version: "2"
|
||||
run:
|
||||
build-tags:
|
||||
- lint
|
||||
issues-exit-code: 0 # TODO: change this to 1 when we want it to fail builds
|
||||
issues:
|
||||
exclude-dirs:
|
||||
- contrib/
|
||||
- misc/
|
||||
issues-exit-code: 1
|
||||
linters:
|
||||
disable:
|
||||
- gocyclo
|
||||
exclusions:
|
||||
generated: lax
|
||||
presets:
|
||||
- comments
|
||||
- common-false-positives
|
||||
- legacy
|
||||
- std-error-handling
|
||||
paths:
|
||||
- contrib/
|
||||
- misc/
|
||||
|
||||
Reference in New Issue
Block a user