mirror of https://github.com/0xERR0R/blocky.git
86 lines
1.3 KiB
YAML
86 lines
1.3 KiB
YAML
linters:
|
|
enable:
|
|
- asciicheck
|
|
- bidichk
|
|
- bodyclose
|
|
- dogsled
|
|
- dupl
|
|
- durationcheck
|
|
- errcheck
|
|
- errchkjson
|
|
- errorlint
|
|
- exhaustive
|
|
- exportloopref
|
|
- funlen
|
|
- gochecknoglobals
|
|
- gochecknoinits
|
|
- gocognit
|
|
- goconst
|
|
- gocritic
|
|
- gocyclo
|
|
- godox
|
|
- gofmt
|
|
- goimports
|
|
- gomnd
|
|
- gomodguard
|
|
- gosec
|
|
- gosimple
|
|
- govet
|
|
- grouper
|
|
- importas
|
|
- ineffassign
|
|
- lll
|
|
- makezero
|
|
- misspell
|
|
- nakedret
|
|
- nestif
|
|
- nilerr
|
|
- nilnil
|
|
- nlreturn
|
|
- nolintlint
|
|
- nosprintfhostport
|
|
- prealloc
|
|
- predeclared
|
|
- revive
|
|
- sqlclosecheck
|
|
- staticcheck
|
|
- stylecheck
|
|
- tenv
|
|
- typecheck
|
|
- unconvert
|
|
- unparam
|
|
- unused
|
|
- usestdlibvars
|
|
- wastedassign
|
|
- whitespace
|
|
- wsl
|
|
disable:
|
|
- noctx
|
|
- contextcheck
|
|
- scopelint
|
|
- structcheck
|
|
- deadcode
|
|
- varcheck
|
|
- forbidigo
|
|
- gosmopolitan
|
|
disable-all: false
|
|
presets:
|
|
- bugs
|
|
- unused
|
|
fast: false
|
|
|
|
linters-settings:
|
|
gomnd:
|
|
ignored-numbers:
|
|
- '0666'
|
|
|
|
issues:
|
|
exclude-rules:
|
|
# Exclude some linters from running on tests files.
|
|
- path: _test\.go
|
|
linters:
|
|
- dupl
|
|
- funlen
|
|
- gochecknoglobals
|
|
- gosec
|