1
0
mirror of https://github.com/xorcare/testing-go-code-with-postgres.git synced 2025-06-30 23:23:40 +02:00

Add linter 'gofumpt'

This commit is contained in:
Vasiliy Vasilyuk
2024-10-06 16:10:14 +03:00
parent 3bb9df005e
commit b7eb482b87
2 changed files with 3 additions and 1 deletions

View File

@ -3,6 +3,7 @@ linters:
enable:
- errcheck
- godot
- gofumpt
- goimports
- gosimple
- govet
@ -19,6 +20,8 @@ linters:
linters-settings:
goimports:
local-prefixes: github.com/xorcare/testing-go-code-with-postgres
gofumpt:
module-path: github.com/xorcare/testing-go-code-with-postgres
unused:
field-writes-are-uses: false
post-statements-are-reads: true