added golangci (#59)
This commit is contained in:
22
.golangci.yml
Normal file
22
.golangci.yml
Normal file
@@ -0,0 +1,22 @@
|
||||
run:
|
||||
deadline: 5m
|
||||
tests: false
|
||||
silent: true
|
||||
|
||||
linters-settings:
|
||||
lll:
|
||||
line-length: 180
|
||||
|
||||
linters:
|
||||
enable-all: true
|
||||
disable:
|
||||
- gas
|
||||
- interfacer
|
||||
- maligned
|
||||
- nakedret
|
||||
|
||||
issues:
|
||||
exclude-use-default: false
|
||||
exclude:
|
||||
- composite literal uses unkeyed fields
|
||||
- Error return value of `.+\.Close` is not checked
|
||||
Reference in New Issue
Block a user