mirror of
https://github.com/drakkan/sftpgo.git
synced 2024-11-22 15:40:23 +00:00
d5946da1e2
Signed-off-by: Nicola Murino <nicola.murino@gmail.com>
52 lines
781 B
YAML
52 lines
781 B
YAML
run:
|
|
timeout: 10m
|
|
issues-exit-code: 1
|
|
tests: true
|
|
|
|
|
|
linters-settings:
|
|
dupl:
|
|
threshold: 150
|
|
errcheck:
|
|
check-type-assertions: false
|
|
check-blank: false
|
|
goconst:
|
|
min-len: 3
|
|
min-occurrences: 3
|
|
gocyclo:
|
|
min-complexity: 15
|
|
gofmt:
|
|
simplify: true
|
|
goimports:
|
|
local-prefixes: github.com/drakkan/sftpgo
|
|
#govet:
|
|
# report about shadowed variables
|
|
#check-shadowing: true
|
|
#enable:
|
|
# - fieldalignment
|
|
|
|
issues:
|
|
include:
|
|
- EXC0002
|
|
- EXC0012
|
|
- EXC0013
|
|
- EXC0014
|
|
- EXC0015
|
|
|
|
linters:
|
|
enable:
|
|
- goconst
|
|
- errcheck
|
|
- gofmt
|
|
- goimports
|
|
- revive
|
|
- unconvert
|
|
- unparam
|
|
- bodyclose
|
|
- gocyclo
|
|
- misspell
|
|
- whitespace
|
|
- dupl
|
|
- rowserrcheck
|
|
- dogsled
|
|
- govet
|