Files
go-storage/.golangci.yml

48 lines
717 B
YAML
Raw Normal View History

2026-02-21 08:11:49 +01:00
version: "2"
run:
allow-parallel-runners: true
linters:
2026-02-21 08:11:49 +01:00
default: none
enable:
2026-02-21 08:11:49 +01:00
- copyloopvar
- dupl
- errcheck
- ginkgolinter
- goconst
- gocyclo
- govet
- ineffassign
2026-02-21 08:11:49 +01:00
#- lll
- misspell
- nakedret
- prealloc
- revive
- staticcheck
- unconvert
- unparam
- unused
2026-02-21 08:11:49 +01:00
settings:
revive:
rules:
- name: comment-spacings
exclusions:
generated: lax
rules:
2026-02-21 08:11:49 +01:00
- linters:
- dupl
- lll
path: /*
paths:
- third_party$
- builtin$
- examples$
formatters:
enable:
- gofmt
exclusions:
generated: lax
paths:
- third_party$
- builtin$
- examples$