You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
30 lines
519 B
YAML
30 lines
519 B
YAML
linters:
|
|
disable:
|
|
- structcheck # gives false positives
|
|
enable:
|
|
- gofumpt
|
|
- thelper
|
|
- goimports
|
|
- tparallel
|
|
- wastedassign
|
|
- exportloopref
|
|
- unparam
|
|
- prealloc
|
|
- unconvert
|
|
- exhaustive
|
|
- makezero
|
|
- nakedret
|
|
# - goconst # TODO: enable and fix issues
|
|
fast: false
|
|
|
|
linters-settings:
|
|
exhaustive:
|
|
default-signifies-exhaustive: true
|
|
|
|
nakedret:
|
|
# the gods will judge me but I just don't like naked returns at all
|
|
max-func-lines: 0
|
|
|
|
run:
|
|
go: 1.18
|