ci: add .golangci.yml config for CI lint step

This commit is contained in:
2026-04-18 21:21:14 +00:00
parent 70c89bb7df
commit 9bce7fee10
+25
View File
@@ -0,0 +1,25 @@
run:
timeout: 5m
tests: true
linters:
disable-all: true
enable:
- errcheck
- govet
- ineffassign
- staticcheck
- unused
- gofmt
- goimports
- revive
linters-settings:
revive:
rules:
- name: var-naming
- name: exported
arguments: ["checkPrivateReceivers", "sayRepetitiveInsteadOfStutters"]
issues:
exclude-use-default: false