summaryrefslogtreecommitdiff
path: root/.golangci.yaml
diff options
context:
space:
mode:
authorMarc Vertes <mvertes@free.fr>2025-11-10 14:01:16 +0100
committerMarc Vertes <mvertes@free.fr>2025-11-10 14:01:16 +0100
commit0035f65d697e165c4f2ba2d445bfa938ab4159ee (patch)
treea2b9779d2cf0ac7c1a36ec381b0ed0b1be2a1bba /.golangci.yaml
parentc6ff109198546a8adb340a7be84a7fc03762081b (diff)
chore: fix lint
Diffstat (limited to '.golangci.yaml')
-rw-r--r--.golangci.yaml22
1 files changed, 21 insertions, 1 deletions
diff --git a/.golangci.yaml b/.golangci.yaml
index f2191fb..a185bb8 100644
--- a/.golangci.yaml
+++ b/.golangci.yaml
@@ -1,8 +1,8 @@
+version: "2"
linters:
enable:
- gocritic
- godot
- - gofumpt
- gosec
- misspell
- perfsprint
@@ -11,3 +11,23 @@ linters:
- reassign
- revive
- unconvert
+ 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$