mirror of
https://github.com/foomo/keel.git
synced 2025-10-16 12:35:34 +00:00
97 lines
1.5 KiB
YAML
97 lines
1.5 KiB
YAML
run:
|
|
timeout: 5m
|
|
skip-dirs:
|
|
- tmp
|
|
|
|
linters-settings:
|
|
gci:
|
|
local-prefixes: github.com/foomo/keel
|
|
golint:
|
|
min-confidence: 0
|
|
goimports:
|
|
local-prefixes: github.com/foomo/keel
|
|
revive:
|
|
rules:
|
|
- name: indent-error-flow
|
|
disabled: true
|
|
gocritic:
|
|
enabled-tags:
|
|
- diagnostic
|
|
- performance
|
|
- style
|
|
disabled-tags:
|
|
- experimental
|
|
- opinionated
|
|
disabled-checks:
|
|
- ifElseChain
|
|
settings:
|
|
hugeParam:
|
|
sizeThreshold: 512
|
|
lll:
|
|
line-length: 150
|
|
|
|
linters:
|
|
disable-all: true
|
|
enable:
|
|
- bodyclose
|
|
- deadcode
|
|
- dogsled
|
|
- dupl
|
|
- exhaustive
|
|
- exportloopref
|
|
- gci
|
|
- goconst
|
|
- gofmt
|
|
- gofumpt
|
|
- goimports
|
|
- revive
|
|
- goprintffuncname
|
|
- govet
|
|
- ineffassign
|
|
- misspell
|
|
- nakedret
|
|
- noctx
|
|
- nolintlint
|
|
- prealloc
|
|
- rowserrcheck
|
|
- sqlclosecheck
|
|
- staticcheck
|
|
- structcheck
|
|
- stylecheck
|
|
- typecheck
|
|
- unconvert
|
|
- unparam
|
|
- unused
|
|
- varcheck
|
|
- whitespace
|
|
- errcheck
|
|
- gocritic
|
|
- gosimple
|
|
|
|
- gocyclo
|
|
- gosec
|
|
- lll
|
|
- exportloopref
|
|
|
|
# unused
|
|
# - godot
|
|
# - gocognit
|
|
# - nlreturn
|
|
# - gochecknoglobals
|
|
# - gochecknoinits
|
|
# - depguard
|
|
# - goheader
|
|
# - gomodguard
|
|
|
|
# don't enable:
|
|
# - asciicheck
|
|
# - funlen
|
|
# - godox
|
|
# - goerr113
|
|
# - gomnd
|
|
# - interfacer
|
|
# - maligned
|
|
# - nestif
|
|
# - testpackage
|
|
# - wsl
|