terraform-provider-eventline/.golangci.yml

42 lines
680 B
YAML

version: "2"
linters:
default: none
enable:
- copyloopvar
- durationcheck
- errcheck
- forcetypeassert
- godot
- govet
- ineffassign
- makezero
- misspell
- nilerr
- predeclared
- staticcheck
- unconvert
- unparam
- unused
exclusions:
generated: lax
presets:
- comments
- common-false-positives
- legacy
- std-error-handling
paths:
- third_party$
- builtin$
- examples$
issues:
max-issues-per-linter: 0
max-same-issues: 0
formatters:
enable:
- gofmt
exclusions:
generated: lax
paths:
- third_party$
- builtin$
- examples$