aboutsummaryrefslogtreecommitdiff
path: root/.golangci.yaml
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--.golangci.yaml24
1 files changed, 22 insertions, 2 deletions
diff --git a/.golangci.yaml b/.golangci.yaml
index 4655178..6065695 100644
--- a/.golangci.yaml
+++ b/.golangci.yaml
@@ -1,7 +1,27 @@
+version: "2"
linters:
enable:
- - bodyclose
- asciicheck
+ - bodyclose
+ - goconst
- gosec
+ exclusions:
+ generated: lax
+ presets:
+ - comments
+ - common-false-positives
+ - legacy
+ - std-error-handling
+ paths:
+ - third_party$
+ - builtin$
+ - examples$
+formatters:
+ enable:
- gci
- - goconst
+ exclusions:
+ generated: lax
+ paths:
+ - third_party$
+ - builtin$
+ - examples$