mirror of
https://github.com/iyear/tdl
synced 2025-01-05 10:27:16 +08:00
33 lines
547 B
YAML
33 lines
547 B
YAML
run:
|
|
timeout: 10m
|
|
output:
|
|
sort-results: true
|
|
linters:
|
|
disable-all: true
|
|
enable:
|
|
- gofumpt
|
|
- gosimple
|
|
- govet
|
|
- goconst
|
|
- ineffassign
|
|
- misspell
|
|
- staticcheck
|
|
- nakedret
|
|
- unconvert
|
|
- unused
|
|
- usestdlibvars
|
|
- exhaustive
|
|
- gci
|
|
linters-settings:
|
|
exhaustive:
|
|
default-signifies-exhaustive: true
|
|
gci:
|
|
sections:
|
|
- standard
|
|
- default
|
|
- prefix(github.com/iyear/tdl)
|
|
- dot
|
|
custom-order: true
|
|
nakedret:
|
|
max-func-lines: 0 # force to use explicit return
|