2024-10-06 16:37:16 +03:00
|
|
|
---
|
2025-04-05 11:40:03 +03:00
|
|
|
version: "2"
|
2023-07-10 23:05:51 +03:00
|
|
|
linters:
|
2025-04-05 11:40:03 +03:00
|
|
|
default: none
|
2023-07-10 23:05:51 +03:00
|
|
|
enable:
|
|
|
|
- errcheck
|
|
|
|
- godot
|
|
|
|
- govet
|
|
|
|
- ineffassign
|
|
|
|
- misspell
|
|
|
|
- staticcheck
|
2023-11-14 22:07:15 +03:00
|
|
|
- testifylint
|
2023-11-14 22:15:16 +03:00
|
|
|
- testpackage
|
2023-07-10 23:05:51 +03:00
|
|
|
- unused
|
|
|
|
- whitespace
|
2024-06-30 22:32:02 +03:00
|
|
|
- wsl
|
2025-04-05 11:40:03 +03:00
|
|
|
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$
|