1
0
mirror of https://github.com/xorcare/testing-go-code-with-postgres.git synced 2025-06-30 23:23:40 +02:00
Files
testing-go-code-with-postgres/.golangci.yml
2025-05-03 09:36:47 +04:00

53 lines
878 B
YAML

---
version: "2"
linters:
default: none
enable:
- errcheck
- godot
- govet
- ineffassign
- misspell
- staticcheck
- testifylint
- testpackage
- unused
- whitespace
- wsl
settings:
unused:
field-writes-are-uses: false
post-statements-are-reads: true
exported-fields-are-used: false
local-variables-are-used: false
exclusions:
generated: lax
presets:
- comments
- common-false-positives
- legacy
- std-error-handling
paths:
- third_party$
- builtin$
- examples$
formatters:
enable:
- gci
- gofmt
- gofumpt
- goimports
- golines
settings:
gci:
sections:
- standard
- default
- localmodule
exclusions:
generated: lax
paths:
- third_party$
- builtin$
- examples$