1
0
mirror of https://github.com/xorcare/testing-go-code-with-postgres.git synced 2025-07-03 23:30:31 +02:00
Files
testing-go-code-with-postgres/.golangci.yml

50 lines
935 B
YAML
Raw Normal View History

---
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:
- gofumpt
- goimports
settings:
gofumpt:
module-path: github.com/xorcare/testing-go-code-with-postgres
goimports:
local-prefixes:
- github.com/xorcare/testing-go-code-with-postgres
exclusions:
generated: lax
paths:
- third_party$
- builtin$
- examples$