mirror of
https://github.com/pocket-id/pocket-id.git
synced 2025-12-06 05:13:01 +03:00
Co-authored-by: Alessandro (Ale) Segala <43508+ItalyPaleAle@users.noreply.github.com> Co-authored-by: Elias Schneider <login@eliasschneider.com>
64 lines
1.0 KiB
YAML
64 lines
1.0 KiB
YAML
version: "2"
|
|
run:
|
|
tests: true
|
|
timeout: 5m
|
|
linters:
|
|
default: none
|
|
enable:
|
|
- asasalint
|
|
- asciicheck
|
|
- bidichk
|
|
- bodyclose
|
|
- contextcheck
|
|
- copyloopvar
|
|
- durationcheck
|
|
- errcheck
|
|
- errchkjson
|
|
- errorlint
|
|
- exhaustive
|
|
- gocheckcompilerdirectives
|
|
- gochecksumtype
|
|
- gocognit
|
|
- gocritic
|
|
- gosec
|
|
- gosmopolitan
|
|
- govet
|
|
- ineffassign
|
|
- loggercheck
|
|
- makezero
|
|
- musttag
|
|
- nilerr
|
|
- nilnesserr
|
|
- noctx
|
|
- protogetter
|
|
- reassign
|
|
- recvcheck
|
|
- rowserrcheck
|
|
- spancheck
|
|
- sqlclosecheck
|
|
- staticcheck
|
|
- testifylint
|
|
- unused
|
|
- usestdlibvars
|
|
- zerologlint
|
|
exclusions:
|
|
generated: lax
|
|
presets:
|
|
- comments
|
|
- common-false-positives
|
|
- legacy
|
|
- std-error-handling
|
|
paths:
|
|
- third_party$
|
|
- builtin$
|
|
- examples$
|
|
- internal/service/test_service.go
|
|
formatters:
|
|
enable:
|
|
- goimports
|
|
exclusions:
|
|
generated: lax
|
|
paths:
|
|
- third_party$
|
|
- builtin$
|
|
- examples$ |