mirror of
https://github.com/maxlerebourg/crowdsec-bouncer-traefik-plugin.git
synced 2026-07-21 19:48:59 +02:00
67 lines
1.1 KiB
YAML
67 lines
1.1 KiB
YAML
run:
|
|
timeout: 3m
|
|
skip-files: []
|
|
skip-dirs: []
|
|
|
|
linters-settings:
|
|
govet:
|
|
enable-all: true
|
|
disable:
|
|
- fieldalignment
|
|
golint:
|
|
min-confidence: 0
|
|
gocyclo:
|
|
min-complexity: 12
|
|
goconst:
|
|
min-len: 5
|
|
min-occurrences: 4
|
|
misspell:
|
|
locale: US
|
|
funlen:
|
|
lines: -1
|
|
statements: 50
|
|
godox:
|
|
keywords:
|
|
- FIXME
|
|
gofumpt:
|
|
extra-rules: true
|
|
|
|
linters:
|
|
enable-all: true
|
|
disable:
|
|
- interfacer # deprecated
|
|
- maligned # deprecated
|
|
- scopelint # deprecated
|
|
- golint # deprecated
|
|
- exhaustivestruct # deprecated
|
|
- cyclop # duplicate of gocyclo
|
|
- bodyclose # Too many false positives: https://github.com/timakin/bodyclose/issues/30
|
|
- dupl
|
|
- testpackage
|
|
- tparallel
|
|
- paralleltest
|
|
- nlreturn
|
|
- wsl
|
|
- exhaustive
|
|
- exhaustruct
|
|
- goerr113
|
|
- wrapcheck
|
|
- ifshort
|
|
- noctx
|
|
- lll
|
|
- gomnd
|
|
- forbidigo
|
|
- varnamelen
|
|
|
|
issues:
|
|
exclude-use-default: false
|
|
max-per-linter: 0
|
|
max-same-issues: 0
|
|
exclude: []
|
|
exclude-rules:
|
|
- path: (.+)_test.go
|
|
linters:
|
|
- goconst
|
|
- funlen
|
|
- godot
|