2021-02-15 19:01:30 +03:00
|
|
|
---
|
|
|
|
run:
|
|
|
|
concurrency: 6
|
|
|
|
deadline: 5m
|
2021-04-28 00:00:50 +03:00
|
|
|
issues:
|
|
|
|
new-from-rev: ""
|
2021-02-15 19:01:30 +03:00
|
|
|
linters:
|
|
|
|
disable-all: true
|
|
|
|
enable:
|
|
|
|
- asciicheck
|
|
|
|
- bodyclose
|
|
|
|
- deadcode
|
|
|
|
- depguard
|
|
|
|
- dogsled
|
2021-05-20 04:45:23 +03:00
|
|
|
# - dupl
|
2021-02-15 19:01:30 +03:00
|
|
|
- errcheck
|
|
|
|
- exhaustive
|
|
|
|
- exportloopref
|
2021-05-20 04:45:23 +03:00
|
|
|
# - gochecknoinits
|
2021-02-15 19:01:30 +03:00
|
|
|
- gocognit
|
|
|
|
- goconst
|
2021-05-20 09:21:01 +03:00
|
|
|
- gocritic
|
2021-02-15 19:01:30 +03:00
|
|
|
- gocyclo
|
|
|
|
- godot
|
|
|
|
- godox
|
2021-05-20 04:45:23 +03:00
|
|
|
# - goerr113
|
2021-02-15 19:01:30 +03:00
|
|
|
- gofmt
|
|
|
|
- gofumpt
|
|
|
|
- goheader
|
|
|
|
- goimports
|
2021-05-20 04:45:23 +03:00
|
|
|
# - golint
|
|
|
|
# - gomnd
|
2021-02-15 19:01:30 +03:00
|
|
|
- gomodguard
|
|
|
|
- goprintffuncname
|
|
|
|
- gosec
|
|
|
|
- gosimple
|
2021-05-20 09:38:58 +03:00
|
|
|
- govet
|
2021-02-15 19:01:30 +03:00
|
|
|
- ineffassign
|
2021-05-20 04:45:23 +03:00
|
|
|
# - lll
|
2021-02-15 19:01:30 +03:00
|
|
|
- misspell
|
|
|
|
- nakedret
|
|
|
|
- nestif
|
|
|
|
- noctx
|
|
|
|
- nolintlint
|
|
|
|
- paralleltest
|
|
|
|
- prealloc
|
|
|
|
- predeclared
|
|
|
|
- rowserrcheck
|
|
|
|
- sqlclosecheck
|
|
|
|
- staticcheck
|
|
|
|
- structcheck
|
2021-05-20 04:45:23 +03:00
|
|
|
# - stylecheck
|
2021-02-15 19:01:30 +03:00
|
|
|
- thelper
|
|
|
|
- tparallel
|
|
|
|
- typecheck
|
|
|
|
- unconvert
|
|
|
|
- unparam
|
|
|
|
- unused
|
|
|
|
- varcheck
|
|
|
|
- whitespace
|
|
|
|
- wrapcheck
|
|
|
|
linters-settings:
|
|
|
|
errcheck:
|
|
|
|
check-type-assertions: true
|
|
|
|
check-blank: true
|
2021-02-28 05:55:36 +03:00
|
|
|
govet:
|
|
|
|
enable:
|
|
|
|
- fieldalignment
|
2021-02-15 19:01:30 +03:00
|
|
|
godox:
|
|
|
|
keywords:
|
|
|
|
- BUG
|
|
|
|
- FIXME
|
|
|
|
- HACK
|
|
|
|
gocritic:
|
|
|
|
enabled-checks:
|
|
|
|
# Diagnostic
|
|
|
|
- appendAssign
|
|
|
|
- argOrder
|
|
|
|
- badCond
|
|
|
|
- caseOrder
|
|
|
|
- codegenComment
|
|
|
|
- commentedOutCode
|
|
|
|
- deprecatedComment
|
|
|
|
- dupArg
|
|
|
|
- dupBranchBody
|
|
|
|
- dupCase
|
|
|
|
- dupSubExpr
|
|
|
|
- exitAfterDefer
|
|
|
|
- flagDeref
|
|
|
|
- flagName
|
|
|
|
- nilValReturn
|
|
|
|
- offBy1
|
|
|
|
- sloppyReassign
|
|
|
|
- weakCond
|
|
|
|
- octalLiteral
|
|
|
|
|
|
|
|
# Performance
|
|
|
|
- appendCombine
|
|
|
|
- equalFold
|
|
|
|
- hugeParam
|
|
|
|
- indexAlloc
|
|
|
|
- rangeExprCopy
|
|
|
|
- rangeValCopy
|
|
|
|
|
|
|
|
# Style
|
|
|
|
- assignOp
|
|
|
|
- boolExprSimplify
|
|
|
|
- captLocal
|
|
|
|
- commentFormatting
|
|
|
|
- commentedOutImport
|
|
|
|
- defaultCaseOrder
|
|
|
|
- docStub
|
|
|
|
- elseif
|
|
|
|
- emptyFallthrough
|
|
|
|
- emptyStringTest
|
|
|
|
- hexLiteral
|
|
|
|
- ifElseChain
|
|
|
|
- methodExprCall
|
|
|
|
- regexpMust
|
|
|
|
- singleCaseSwitch
|
|
|
|
- sloppyLen
|
|
|
|
- stringXbytes
|
|
|
|
- switchTrue
|
|
|
|
- typeAssertChain
|
|
|
|
- typeSwitchVar
|
|
|
|
- underef
|
|
|
|
- unlabelStmt
|
|
|
|
- unlambda
|
|
|
|
- unslice
|
|
|
|
- valSwap
|
|
|
|
- wrapperFunc
|
|
|
|
- yodaStyleExpr
|
|
|
|
|
|
|
|
# Opinionated
|
|
|
|
- builtinShadow
|
|
|
|
- importShadow
|
|
|
|
- initClause
|
|
|
|
- nestingReduce
|
|
|
|
- paramTypeCombine
|
|
|
|
- ptrToRefParam
|
|
|
|
- typeUnparen
|
|
|
|
- unnamedResult
|
|
|
|
- unnecessaryBlock
|