You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
42 lines
723 B
42 lines
723 B
2 years ago
|
linters-settings:
|
||
|
dupl:
|
||
|
threshold: 100
|
||
|
funlen:
|
||
|
lines: 100
|
||
|
statements: 50
|
||
|
goconst:
|
||
|
min-len: 2
|
||
|
min-occurrences: 2
|
||
|
gocyclo:
|
||
|
min-complexity: 15
|
||
|
golint:
|
||
|
min-confidence: 0
|
||
|
govet:
|
||
|
check-shadowing: true
|
||
|
lll:
|
||
|
line-length: 140
|
||
|
maligned:
|
||
|
suggest-new: true
|
||
|
misspell:
|
||
|
locale: US
|
||
|
varnamelen:
|
||
|
min-name-length: 2
|
||
|
|
||
|
linters:
|
||
|
enable-all: true
|
||
|
disable:
|
||
|
- maligned
|
||
|
- exhaustivestruct
|
||
|
- golint
|
||
|
- structcheck
|
||
|
- varcheck
|
||
|
- interfacer
|
||
|
- deadcode
|
||
|
- nosnakecase
|
||
|
- scopelint
|
||
|
- ifshort
|
||
|
|
||
|
- gochecknoglobals
|
||
|
- ireturn
|
||
|
- exhaustruct
|
||
|
- gochecknoinits
|