b5f57212392ae971147447ba7223eac6724db069
- Author
- Carlos Alexandro Becker <caarlos0@users.noreply.github.com>
- Committer
- Carlos Alexandro Becker <caarlos0@users.noreply.github.com>
- Date
Message
build: fix golanci-lint configs
Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>
Diff
1diff --git a/.golangci-soft.yml b/.golangci-soft.yml
2index 0500f19d30a2e9355aa138c3225fc615c8c0c2d0..5f3cebfa38144c36846ea57bc58595657a2f1bf1 100644
3--- a/.golangci-soft.yml
4+++ b/.golangci-soft.yml
5@@ -15,17 +15,13 @@ issues:
6
7 linters:
8 enable:
9- # - dupl
10 - exhaustive
11- # - exhaustivestruct
12 - goconst
13 - godot
14 - godox
15- - gomnd
16+ - mnd
17 - gomoddirectives
18 - goprintffuncname
19- - ifshort
20- # - lll
21 - misspell
22 - nakedret
23 - nestif
24@@ -36,13 +32,10 @@ linters:
25
26 # disable default linters, they are already enabled in .golangci.yml
27 disable:
28- - deadcode
29 - errcheck
30 - gosimple
31 - govet
32 - ineffassign
33 - staticcheck
34- - structcheck
35 - typecheck
36 - unused
37- - varcheck