mirror of
https://github.com/hanzoai/traces.git
synced 2026-11-03 04:05:45 +00:00
| datasource | package | from | to | | ---------- | ---------------------------- | ------ | ------ | | go | github.com/maypok86/otter/v2 | v2.2.1 | v2.3.0 | Signed-off-by: renovate-sh-app[bot] <219655108+renovate-sh-app[bot]@users.noreply.github.com> Co-authored-by: renovate-sh-app[bot] <219655108+renovate-sh-app[bot]@users.noreply.github.com>
113 lines
2.0 KiB
YAML
113 lines
2.0 KiB
YAML
version: "2"
|
|
run:
|
|
concurrency: 8
|
|
timeout: 5m
|
|
build-tags:
|
|
- integration
|
|
modules-download-mode: readonly
|
|
output:
|
|
formats:
|
|
tab:
|
|
path: lint.txt
|
|
colors: false
|
|
formatters:
|
|
enable:
|
|
- gci
|
|
- gofumpt
|
|
settings:
|
|
gci:
|
|
sections:
|
|
- standard # Standard lib
|
|
- default # External dependencies
|
|
- prefix(github.com/maypok86/otter) # Internal packages
|
|
linters:
|
|
enable:
|
|
- asasalint
|
|
- asciicheck
|
|
- bidichk
|
|
- bodyclose
|
|
- durationcheck
|
|
- errcheck
|
|
- errname
|
|
- errorlint
|
|
- gocheckcompilerdirectives
|
|
- gocritic
|
|
- godot
|
|
- gomoddirectives
|
|
- govet
|
|
- ineffassign
|
|
- misspell
|
|
- nakedret
|
|
- nilerr
|
|
- nilnil
|
|
- noctx
|
|
- nolintlint
|
|
- prealloc
|
|
- predeclared
|
|
- promlinter
|
|
- reassign
|
|
- revive
|
|
- rowserrcheck
|
|
- sqlclosecheck
|
|
- staticcheck
|
|
- tagliatelle
|
|
- testableexamples
|
|
- tparallel
|
|
- unconvert
|
|
- unparam
|
|
- usestdlibvars
|
|
- wastedassign
|
|
disable:
|
|
- gosec
|
|
- unused
|
|
exclusions:
|
|
paths:
|
|
- issue_test.go
|
|
rules:
|
|
- path: _test\.go
|
|
linters:
|
|
- gosec
|
|
- errname
|
|
- errcheck
|
|
- errorlint
|
|
- path: cmd/generator
|
|
linters:
|
|
- errcheck
|
|
- gosec
|
|
- linters:
|
|
- staticcheck
|
|
text: "QF1001:"
|
|
settings:
|
|
gocritic:
|
|
enabled-tags:
|
|
- diagnostic
|
|
- experimental
|
|
- opinionated
|
|
- performance
|
|
- style
|
|
disabled-checks:
|
|
- hugeParam
|
|
- rangeExprCopy
|
|
- rangeValCopy
|
|
errcheck:
|
|
check-type-assertions: true
|
|
check-blank: true
|
|
exclude-functions:
|
|
- io/ioutil.ReadFile
|
|
- io.Copy(*bytes.Buffer)
|
|
- io.Copy(os.Stdout)
|
|
nakedret:
|
|
max-func-lines: 1
|
|
revive:
|
|
rules:
|
|
- name: empty-block
|
|
disabled: true
|
|
tagliatelle:
|
|
case:
|
|
rules:
|
|
json: snake
|
|
yaml: snake
|
|
issues:
|
|
max-issues-per-linter: 0
|
|
max-same-issues: 0
|