Fix linter config

This commit is contained in:
2025-10-24 13:22:55 +03:00
parent 3c98b8b9b7
commit 8509ec9d33
2 changed files with 24 additions and 8 deletions
+22 -6
View File
@@ -3,14 +3,30 @@ version: "2"
run:
timeout: 5m
formatters:
enable:
- gofmt
- goimports
exclusions:
exclusions:
generated: lax
presets:
- comments
- common-false-positives
- std-error-handling
paths:
- third_party$
- builtin$
- examples$
formatters:
enable:
- gofmt
- goimports
settings:
goimports:
local-prefixes:
- crm2
exclusions:
generated: lax
paths:
- third_party$
- builtin$
- examples$