mirror of
https://github.com/SecurityBrewery/catalyst.git
synced 2025-12-05 23:02:43 +01:00
60 lines
942 B
YAML
60 lines
942 B
YAML
version: "2"
|
|
run:
|
|
go: "1.22"
|
|
linters:
|
|
default: all
|
|
disable:
|
|
- depguard
|
|
- dupl
|
|
- err113
|
|
- exhaustruct
|
|
- funcorder
|
|
- funlen
|
|
- gochecknoglobals
|
|
- godox
|
|
- gomoddirectives
|
|
- ireturn
|
|
- lll
|
|
- maintidx
|
|
- mnd
|
|
- noinlineerr
|
|
- nonamedreturns
|
|
- perfsprint
|
|
- prealloc
|
|
- tagalign
|
|
- tagliatelle
|
|
- testpackage
|
|
- unparam
|
|
- varnamelen
|
|
- wrapcheck
|
|
- wsl
|
|
exclusions:
|
|
generated: lax
|
|
presets:
|
|
- comments
|
|
- common-false-positives
|
|
- legacy
|
|
- std-error-handling
|
|
paths:
|
|
- third_party$
|
|
- builtin$
|
|
- examples$
|
|
formatters:
|
|
enable:
|
|
- gci
|
|
- gofmt
|
|
- gofumpt
|
|
- goimports
|
|
settings:
|
|
gci:
|
|
sections:
|
|
- standard
|
|
- default
|
|
- prefix(github.com/SecurityBrewery/catalyst)
|
|
exclusions:
|
|
generated: lax
|
|
paths:
|
|
- third_party$
|
|
- builtin$
|
|
- examples$
|