mirror of
https://github.com/kemko/reproxy.git
synced 2026-01-01 15:55:49 +03:00
68 lines
1.1 KiB
YAML
68 lines
1.1 KiB
YAML
linters-settings:
|
|
govet:
|
|
check-shadowing: true
|
|
golint:
|
|
min-confidence: 0
|
|
gocyclo:
|
|
min-complexity: 15
|
|
maligned:
|
|
suggest-new: true
|
|
dupl:
|
|
threshold: 100
|
|
goconst:
|
|
min-len: 2
|
|
min-occurrences: 2
|
|
misspell:
|
|
locale: US
|
|
lll:
|
|
line-length: 140
|
|
gocritic:
|
|
enabled-tags:
|
|
- performance
|
|
- style
|
|
- experimental
|
|
disabled-checks:
|
|
- wrapperFunc
|
|
- hugeParam
|
|
|
|
linters:
|
|
enable:
|
|
- megacheck
|
|
- revive
|
|
- govet
|
|
- unconvert
|
|
- megacheck
|
|
- gas
|
|
- gocyclo
|
|
- dupl
|
|
- misspell
|
|
- unparam
|
|
- unused
|
|
- typecheck
|
|
- ineffassign
|
|
- stylecheck
|
|
- gochecknoinits
|
|
- exportloopref
|
|
- gocritic
|
|
- nakedret
|
|
- gosimple
|
|
- prealloc
|
|
fast: false
|
|
disable-all: true
|
|
|
|
run:
|
|
output:
|
|
format: tab
|
|
skip-dirs:
|
|
- vendor
|
|
|
|
issues:
|
|
exclude-rules:
|
|
- text: "should have a package comment, unless it's in another file for this package"
|
|
linters:
|
|
- golint
|
|
- text: "at least one file in a package should have a package comment"
|
|
linters:
|
|
- stylecheck
|
|
exclude-use-default: false
|