Skip to content

Commit 782914c

Browse files
committed
Disable deep-exit in main, disable empty-block/promlinter for now
1 parent 69db489 commit 782914c

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

.golangci.yml

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,6 @@ linters-settings:
4949
- name: range-val-in-closure
5050
- name: range-val-address
5151
- name: dot-imports
52-
- name: empty-block
5352
- name: error-naming
5453
- name: error-return
5554
- name: error-strings
@@ -125,7 +124,8 @@ linters:
125124
- noctx
126125
- nolintlint
127126
- predeclared
128-
- promlinter
127+
# disabling for the initial iteration of the linting tool
128+
#- promlinter
129129
- revive
130130
- rowserrcheck
131131
- sqlclosecheck
@@ -183,6 +183,12 @@ issues:
183183
linters:
184184
- noctx
185185

186+
- path: cmd.*
187+
text: "deep-exit"
188+
189+
- path: main\.go
190+
text: "deep-exit"
191+
186192
# This check is of questionable value
187193
- linters:
188194
- tparallel

0 commit comments

Comments
 (0)