1
0
mirror of https://github.com/lxc/distrobuilder.git synced 2026-02-05 15:46:17 +01:00
Files
distrobuilder/.golangci.yml
Stéphane Graber 8d36e37670 golang-ci: Upgrade to v2
Signed-off-by: Stéphane Graber <stgraber@stgraber.org>
2025-04-02 14:23:16 -04:00

39 lines
638 B
YAML

version: "2"
linters:
enable:
- errorlint
- godot
- misspell
- whitespace
exclusions:
generated: lax
presets:
- comments
- common-false-positives
- legacy
- std-error-handling
paths:
- third_party$
- builtin$
- examples$
rules:
- linters:
- staticcheck
text: "ST1005:"
formatters:
enable:
- gci
- gofumpt
settings:
gci:
sections:
- standard
- default
- prefix(github.com/lxc/distrobuilder)
exclusions:
generated: lax
paths:
- third_party$
- builtin$
- examples$