mirror of
https://github.com/go-gitea/gitea
synced 2024-11-07 18:54:25 +00:00
41 lines
609 B
YAML
41 lines
609 B
YAML
|
linters:
|
||
|
enable:
|
||
|
- gosimple
|
||
|
- deadcode
|
||
|
- typecheck
|
||
|
- govet
|
||
|
- errcheck
|
||
|
- staticcheck
|
||
|
- unused
|
||
|
- structcheck
|
||
|
- varcheck
|
||
|
- golint
|
||
|
- dupl
|
||
|
- gocyclo
|
||
|
- gofmt
|
||
|
- misspell
|
||
|
- gocritic
|
||
|
enable-all: false
|
||
|
disable-all: true
|
||
|
fast: false
|
||
|
|
||
|
run:
|
||
|
timeout: 3m
|
||
|
|
||
|
linters-settings:
|
||
|
gocritic:
|
||
|
disabled-checks:
|
||
|
- ifElseChain
|
||
|
|
||
|
issues:
|
||
|
exclude-rules:
|
||
|
# Exclude some linters from running on tests files.
|
||
|
- path: _test\.go
|
||
|
linters:
|
||
|
- gocyclo
|
||
|
- errcheck
|
||
|
- dupl
|
||
|
- gosec
|
||
|
- unparam
|
||
|
- staticcheck
|