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 ca16e02007 Enable linter 'wsl'
This is a highly controversial linter, but it generally has a positive
effect on code readability.
2024-06-30 22:41:56 +03:00

27 lines
504 B
YAML

linters:
disable-all: true
enable:
- errcheck
- godot
- goimports
- gosimple
- govet
- ineffassign
- misspell
- staticcheck
- testifylint
- testpackage
- typecheck
- unused
- whitespace
- wsl
linters-settings:
goimports:
local-prefixes: github.com/xorcare/testing-go-code-with-postgres
unused:
field-writes-are-uses: false
post-statements-are-reads: true
exported-fields-are-used: false
local-variables-are-used: false