mirror of
https://github.com/kemko/reproxy.git
synced 2026-01-01 15:55:49 +03:00
pin golangci-lint version to latest available, fix reported errors
This commit is contained in:
committed by
Umputun
parent
cbed6ed705
commit
30173d599c
@@ -1,17 +1,10 @@
|
||||
run:
|
||||
timeout: 5m
|
||||
output:
|
||||
format: tab
|
||||
skip-dirs:
|
||||
- vendor
|
||||
|
||||
linters-settings:
|
||||
govet:
|
||||
check-shadowing: true
|
||||
golint:
|
||||
min-confidence: 0.1
|
||||
maligned:
|
||||
suggest-new: true
|
||||
enable:
|
||||
- shadow
|
||||
goconst:
|
||||
min-len: 2
|
||||
min-occurrences: 2
|
||||
@@ -33,13 +26,12 @@ linters-settings:
|
||||
|
||||
linters:
|
||||
enable:
|
||||
- megacheck
|
||||
- staticcheck
|
||||
- revive
|
||||
- govet
|
||||
- unconvert
|
||||
- megacheck
|
||||
- unused
|
||||
- gas
|
||||
- gosec
|
||||
- gocyclo
|
||||
- dupl
|
||||
- misspell
|
||||
@@ -57,6 +49,8 @@ linters:
|
||||
disable-all: true
|
||||
|
||||
issues:
|
||||
exclude-dirs:
|
||||
- vendor
|
||||
exclude-rules:
|
||||
- text: "at least one file in a package should have a package comment"
|
||||
linters:
|
||||
|
||||
Reference in New Issue
Block a user