mirror of
https://forge.liiib.re/indiehost/libre.sh/libre.sh.git
synced 2024-12-28 06:36:42 +00:00
40 lines
692 B
YAML
40 lines
692 B
YAML
run:
|
|
deadline: 5m
|
|
allow-parallel-runners: true
|
|
|
|
issues:
|
|
# don't skip warning about doc comments
|
|
# don't exclude the default set of lint
|
|
exclude-use-default: false
|
|
# restore some of the defaults
|
|
# (fill in the rest as needed)
|
|
exclude-rules:
|
|
- path: "api/*"
|
|
linters:
|
|
- lll
|
|
- path: "internal/*"
|
|
linters:
|
|
- dupl
|
|
- lll
|
|
linters:
|
|
disable-all: true
|
|
enable:
|
|
- dupl
|
|
- errcheck
|
|
- exportloopref
|
|
- goconst
|
|
- gocyclo
|
|
- gofmt
|
|
- goimports
|
|
- gosimple
|
|
- govet
|
|
- ineffassign
|
|
- lll
|
|
- misspell
|
|
- nakedret
|
|
- prealloc
|
|
- staticcheck
|
|
- typecheck
|
|
- unconvert
|
|
- unparam
|
|
- unused
|