Commit 6ed7ccb7
6ed7ccb73812Merged
Svyatoslav Dumchenko <[email protected]> · 4 years ago · 5 files · ~5 modified
Description
Merge pull request #238 from helmwave/cyclop
Reduce cyclomatic and cognitive complexity
Details
- Commit
- 6ed7ccb73812
- Parent
- 3b11d57ec00f
- Merge parent
- 958fbdced618
.golangci.ymlmodifiedView file
@@ -30,7 +30,7 @@
3030
3131
cyclop:3232
# the maximal code complexity to report33-
max-complexity: 2033+
max-complexity: 133434
# the maximal average package complexity. If it's higher than 0.0 (float) the check is enabled (default 0.0)3535
package-average: 0.03636
# should ignore tests (default false)@@ -97,7 +97,7 @@
9797
9898
gocognit:9999
# minimal code complexity to report, 30 by default (but we recommend 10-20)100-
min-complexity: 20100+
min-complexity: 15101101
102102
nestif:103103
# minimal complexity of if statements to report, 5 by defaultgo.modmodifiedView file
Loading diff…
pkg/kubedog/multitrack.gomodifiedView file
Loading diff…
pkg/plan/build_manifests.gomodifiedView file
Loading diff…
pkg/template/extra.gomodifiedView file
Loading diff…