Files
api_tmpl/.golangci.yml
2026-01-08 01:15:07 +00:00

35 lines
622 B
YAML

version: "2"
run:
timeout: 5m
linters:
enable:
- errcheck
- govet
- ineffassign
- staticcheck
- unused
- revive
settings:
revive:
rules:
- name: exported
arguments:
- disableStutteringCheck: false
- name: package-comments
- name: error-naming
- name: error-strings
- name: receiver-naming
- name: var-naming
staticcheck:
checks: ["all", "-ST1000"]
exclusions:
presets:
- comments
- common-false-positives
- legacy
- std-error-handling
formatters:
enable:
- gofumpt