Files
nfpm/.golangci.yml
Carlos Alexandro BeckerandCopilot 4b170c1398 chore: update Go to 1.27.4 (#1179)
* chore: update Go to 1.27.4

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

Copilot-Session: 0b7b91d3-6d9d-4a41-81d7-54d026ef272a
Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>

* ci: read govulncheck Go version from go.mod

Address review feedback by using go-version-file and clearing the action's default stable version input.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

Copilot-Session: 0b7b91d3-6d9d-4a41-81d7-54d026ef272a
Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>

---------

Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>
Copilot-Session: 0b7b91d3-6d9d-4a41-81d7-54d026ef272a
2026-11-12 01:37:02 +00:00

57 lines
963 B
YAML

version: "2"
run:
go: "1.27"
linters:
enable:
- depguard
- forbidigo
- misspell
- revive
- tagliatelle
- testifylint
- thelper
- tparallel
- unconvert
- usetesting
- unparam
- wastedassign
settings:
depguard:
rules:
main:
deny:
- pkg: github.com/pkg/errors
desc: use stdlib instead
forbidigo:
forbid:
- pattern: ioutil\.*
tagliatelle:
case:
rules:
json: snake
yaml: snake
use-field-name: false
testifylint:
disable:
- encoded-compare
exclusions:
generated: lax
presets:
- comments
- common-false-positives
- legacy
- std-error-handling
paths:
- third_party$
- builtin$
- examples$
formatters:
enable:
- gofumpt
exclusions:
generated: lax
paths:
- third_party$
- builtin$
- examples$