1 В избранное 0 Ответвления 0

OSCHINA-MIRROR/mirrors-lazygit

Присоединиться к Gitlife
Откройте для себя и примите участие в публичных проектах с открытым исходным кодом с участием более 10 миллионов разработчиков. Приватные репозитории также полностью бесплатны :)
Присоединиться бесплатно
Клонировать/Скачать
.golangci.yml 879
Копировать Редактировать Web IDE Исходные данные Просмотреть построчно История
Kevin Radloff Отправлено 08.03.2025 18:40 be7583d
linters:
enable:
- gofumpt
- thelper
- goimports
- tparallel
- wastedassign
- unparam
- prealloc
- unconvert
- exhaustive
- makezero
- nakedret
- copyloopvar
fast: false
linters-settings:
copyloopvar:
# Check all assigning the loop variable to another variable.
# Default: false
# If true, an assignment like `a := x` will be detected as an error.
check-alias: true
exhaustive:
default-signifies-exhaustive: true
staticcheck:
# SA1019 is for checking that we're not using fields marked as deprecated
# in a comment. It decides this in a loose way so I'm silencing it. Also because
# it's tripping on our own structs.
checks: ["all", "-SA1019"]
nakedret:
# the gods will judge me but I just don't like naked returns at all
max-func-lines: 0
run:
go: "1.24"
timeout: 10m

Опубликовать ( 0 )

Вы можете оставить комментарий после Вход в систему

1
https://api.gitlife.ru/oschina-mirror/mirrors-lazygit.git
git@api.gitlife.ru:oschina-mirror/mirrors-lazygit.git
oschina-mirror
mirrors-lazygit
mirrors-lazygit
master