mirror of
https://github.com/jesseduffield/lazygit.git
synced 2024-11-28 09:08:41 +02:00
df0c3b3ea8
we've had a timeout issue in CI
31 lines
536 B
YAML
31 lines
536 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.20'
|
|
timeout: 10m
|