Skip to content

Commit 4527ad0

Browse files
authored
CI: update lint complexity thresholds (#3608)
1 parent 959b872 commit 4527ad0

File tree

1 file changed

+4
-6
lines changed

1 file changed

+4
-6
lines changed

.golangci.yml

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -184,7 +184,7 @@ linters:
184184

185185
maintidx:
186186
# raise this after refactoring
187-
under: 15
187+
under: 18
188188

189189
misspell:
190190
locale: US
@@ -210,7 +210,7 @@ linters:
210210
- name: cognitive-complexity
211211
arguments:
212212
# lower this after refactoring
213-
- 119
213+
- 113
214214
- name: comment-spacings
215215
disabled: true
216216
- name: confusing-results
@@ -235,8 +235,8 @@ linters:
235235
- name: function-length
236236
arguments:
237237
# lower this after refactoring
238-
- 111
239-
- 238
238+
- 87
239+
- 198
240240
- name: get-return
241241
disabled: true
242242
- name: increment-decrement
@@ -294,9 +294,7 @@ linters:
294294
- -ST1003
295295
- -ST1005
296296
- -ST1012
297-
- -ST1022
298297
- -QF1003
299-
- -QF1008
300298
- -QF1012
301299

302300
wsl:

0 commit comments

Comments
 (0)