mirror of
https://github.com/0xERR0R/blocky.git
synced 2024-09-12 03:42:46 +02:00
79 lines
1.2 KiB
YAML
79 lines
1.2 KiB
YAML
linters:
|
|
enable:
|
|
- asciicheck
|
|
- bidichk
|
|
- bodyclose
|
|
- depguard
|
|
- dogsled
|
|
- dupl
|
|
- durationcheck
|
|
- errcheck
|
|
- errchkjson
|
|
- errorlint
|
|
- exhaustive
|
|
- exportloopref
|
|
- funlen
|
|
- gochecknoglobals
|
|
- gochecknoinits
|
|
- gocognit
|
|
- goconst
|
|
- gocritic
|
|
- gocyclo
|
|
- godox
|
|
- gofmt
|
|
- goimports
|
|
- gomnd
|
|
- gomoddirectives
|
|
- gomodguard
|
|
- gosec
|
|
- gosimple
|
|
- govet
|
|
- grouper
|
|
- importas
|
|
- ineffassign
|
|
- lll
|
|
- makezero
|
|
- misspell
|
|
- nakedret
|
|
- nestif
|
|
- nilerr
|
|
- nilnil
|
|
- nlreturn
|
|
- prealloc
|
|
- predeclared
|
|
- revive
|
|
- sqlclosecheck
|
|
- staticcheck
|
|
- stylecheck
|
|
- tenv
|
|
- typecheck
|
|
- unconvert
|
|
- unparam
|
|
- unused
|
|
- wastedassign
|
|
- whitespace
|
|
- wsl
|
|
disable:
|
|
- noctx
|
|
- contextcheck
|
|
- scopelint
|
|
|
|
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:
|
|
- gochecknoglobals
|
|
- dupl
|