aides-repo-api/.golangci.yml
Maxim Slipenko e4f9743dea
Some checks failed
Format and Lint / format-check (push) Failing after 2s
Format and Lint / test (push) Successful in 52s
chore: change code.alt-gnome to code.aides.space
2025-01-07 17:54:16 +03:00

41 lines
679 B
YAML

run:
timeout: 5m
exclude-dirs:
- "vendor"
exclue-files:
- ".*\\.gen\\.go"
linters-settings:
errcheck:
exclude-functions:
- github.com/go-chi/render.Render
goimports:
local-prefixes: "code.aides.space/aides-infra/aides-repo-api"
gofmt:
simplify: true
gofumpt:
extra-rules: true
forbidigo:
forbid:
- p: ^fmt\.Print.*$
msg: Do not commit print statements.
linters:
enable:
- gofmt
- gofumpt
- goimports
- gocritic
- govet
- staticcheck
- unused
- errcheck
- typecheck
- forbidigo
issues:
fix: true
exclude-rules:
- path: _test\.go
linters:
- errcheck