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 c3496db60e Bump golangci/golangci-lint-action from 6 to 7
Bumps [golangci/golangci-lint-action](https://github.com/golangci/golangci-lint-action) from 6 to 7.
- [Release notes](https://github.com/golangci/golangci-lint-action/releases)
- [Commits](https://github.com/golangci/golangci-lint-action/compare/v6...v7)

---
updated-dependencies:
- dependency-name: golangci/golangci-lint-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-04-05 08:41:53 +00:00

50 lines
935 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:
- 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$