1
0
mirror of https://github.com/jesseduffield/lazygit.git synced 2024-12-04 10:34:55 +02:00
lazygit/.golangci.yml

30 lines
519 B
YAML
Raw Normal View History

2022-03-19 00:38:49 +02:00
linters:
disable:
- structcheck # gives false positives
enable:
- gofumpt
- thelper
- goimports
- tparallel
- wastedassign
- exportloopref
- unparam
- prealloc
- unconvert
- exhaustive
- makezero
2022-03-25 14:16:24 +02:00
- nakedret
2022-03-19 00:38:49 +02:00
# - goconst # TODO: enable and fix issues
fast: false
linters-settings:
exhaustive:
default-signifies-exhaustive: true
2022-03-25 14:16:24 +02:00
nakedret:
# the gods will judge me but I just don't like naked returns at all
max-func-lines: 0
2022-03-19 00:38:49 +02:00
run:
go: 1.18