We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 68ce706 commit 11fcdd9Copy full SHA for 11fcdd9
.golangci.example.yml
@@ -158,11 +158,6 @@ linters-settings:
158
# Exclude godoc examples from forbidigo checks. Default is true.
159
exclude_godoc_examples: false
160
161
- nlreturn:
162
- # size of the block (including return statement that are still "OK")
163
- # so no return split required.
164
- block-size: 1
165
-
166
funlen:
167
lines: 60
168
statements: 40
@@ -511,6 +506,11 @@ linters-settings:
511
506
- map
512
507
- chan
513
508
509
+ nlreturn:
510
+ # size of the block (including return statement that is still "OK")
+ # so no return split required.
+ block-size: 1
+
514
nolintlint:
515
# Enable to ensure that nolint directives are all used. Default is true.
516
allow-unused: false
0 commit comments