File tree 1 file changed +9
-9
lines changed
1 file changed +9
-9
lines changed Original file line number Diff line number Diff line change @@ -172,15 +172,6 @@ linters-settings:
172
172
# minimal code complexity to report, 30 by default (but we recommend 10-20)
173
173
min-complexity : 10
174
174
175
- nestif :
176
- # minimal complexity of if statements to report, 5 by default
177
- min-complexity : 4
178
-
179
- nlreturn :
180
- # size of the block (including return statement that is still "OK")
181
- # so no return split required.
182
- block-size : 1
183
-
184
175
goconst :
185
176
# minimal length of string constant, 3 by default
186
177
min-len : 3
@@ -502,6 +493,15 @@ linters-settings:
502
493
# make an issue if func has more lines of code than this setting and it has naked returns; default is 30
503
494
max-func-lines : 30
504
495
496
+ nestif :
497
+ # minimal complexity of if statements to report, 5 by default
498
+ min-complexity : 4
499
+
500
+ nlreturn :
501
+ # size of the block (including return statement that is still "OK")
502
+ # so no return split required.
503
+ block-size : 1
504
+
505
505
prealloc :
506
506
# XXX: we don't recommend using this linter before doing performance profiling.
507
507
# For most programs usage of prealloc will be a premature optimization.
You can’t perform that action at this time.
0 commit comments