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
Vasiliy Vasilyuk 4ccac3351d Configure linter 'unused'
These settings allow you to find more unused code.
2024-06-30 22:41:44 +03:00

24 lines
412 B
YAML

linters:
disable-all: true
enable:
- errcheck
- godot
- goimports
- gosimple
- govet
- ineffassign
- misspell
- staticcheck
- testifylint
- testpackage
- typecheck
- unused
- whitespace
linters-settings:
unused:
field-writes-are-uses: false
post-statements-are-reads: true
exported-fields-are-used: false
local-variables-are-used: false