Skip to content

Commit af9fda7

Browse files
feat: fix .golangci.yaml
Signed-off-by: nelson.parente <nelson_parente@live.com.pt>
1 parent f671c71 commit af9fda7

File tree

1 file changed

+6
-7
lines changed

1 file changed

+6
-7
lines changed

.golangci.yml

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -55,14 +55,14 @@ linters:
5555
- lll
5656
- unparam
5757
- wsl
58-
- gomnd
58+
# - gomnd
5959
- testpackage
6060
- nestif
6161
- nlreturn
6262
- exhaustive
6363
- exhaustruct
6464
- noctx
65-
- gci
65+
# - gci
6666
- tparallel
6767
- paralleltest
6868
- wrapcheck
@@ -79,11 +79,11 @@ linters:
7979
- maintidx
8080
- nilnil
8181
- predeclared
82-
- tenv
82+
# - tenv
8383
- thelper
8484
- wastedassign
8585
- containedctx
86-
- gosimple
86+
# - gosimple
8787
- nonamedreturns
8888
- asasalint
8989
- rowserrcheck
@@ -92,8 +92,8 @@ linters:
9292
- tagalign
9393
- mnd
9494
- canonicalheader
95-
- exportloopref
96-
- execinquery
95+
# - exportloopref
96+
# - execinquery
9797
- err113
9898
- fatcontext
9999
- forbidigo
@@ -146,7 +146,6 @@ linters:
146146
revive:
147147
# linting errors below this confidence will be ignored, default is 0.8
148148
confidence: 0.8
149-
150149
gocyclo:
151150
# minimal code complexity to report, 30 by default (but we recommend 10-20)
152151
min-complexity: 10

0 commit comments

Comments
 (0)