We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4f5e03d commit ce0e1a9Copy full SHA for ce0e1a9
.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
@@ -181,6 +176,11 @@ linters-settings:
181
176
# minimal complexity of if statements to report, 5 by default
182
177
min-complexity: 4
183
178
179
+ nlreturn:
180
+ # size of the block (including return statement that is still "OK")
+ # so no return split required.
+ block-size: 1
+
184
goconst:
185
# minimal length of string constant, 3 by default
186
min-len: 3
0 commit comments