go-sample-webpage/vendor/github.com/lestrrat-go/jwx/.golangci.yml
2021-11-04 02:14:51 +01:00

82 lines
1.5 KiB
YAML

run:
linters-settings:
govet:
enable-all: true
disable:
- shadow
- fieldalignment
linters:
enable-all: true
disable:
- cyclop
- dupl
- exhaustive
- exhaustivestruct
- errorlint
- funlen
- gci
- gochecknoglobals
- gochecknoinits
- gocognit
- gocritic
- gocyclo
- godot
- godox
- goerr113
- gofumpt
- golint #deprecated
- gomnd
- gosec
- govet
- interfacer # deprecated
- ifshort
- lll
- maligned # deprecated
- makezero
- nakedret
- nestif
- nlreturn
- paralleltest
- scopelint # deprecated
- tagliatelle
- testpackage
- thelper
- wrapcheck
- wsl
issues:
exclude-rules:
# not needed
- path: /*.go
text: "ST1003: should not use underscores in package names"
linters:
- stylecheck
- path: /*.go
text: "don't use an underscore in package name"
linters:
- revive
- path: /main.go
linters:
- errcheck
- path: internal/codegen/codegen.go
linters:
- errcheck
- path: /*_test.go
linters:
- errcheck
- forcetypeassert
- path: /*_example_test.go
linters:
- forbidigo
- path: cmd/jwx/jwx.go
linters:
- forbidigo
# Maximum issues count per one linter. Set to 0 to disable. Default is 50.
max-issues-per-linter: 0
# Maximum count of issues with the same text. Set to 0 to disable. Default is 3.
max-same-issues: 0