New 🌊 wave for @helm

Commit 192fc013

192fc0139122Merged

Svyatoslav Dumchenko <[email protected]> · 4 years ago · 19 files · ~19 modified

Description

Merge pull request #213 from helmwave/tests_lint

Enable linter for tests

Details

Commit
192fc0139122
Parent
d4e406189909
Merge parent
24f1f1b7b420

.golangci.ymlmodifiedView file

@@ -1,6 +1,9 @@
11 # options for analysis running
22 run:
33 timeout: 5m
4+ build-tags:
5+ - unit
6+ - integration
47
58 linters:
69 enable-all: true
@@ -10,6 +13,7 @@
1013 - deadcode
1114 - dupl
1215 - funlen
16+ - gci
1317 - gochecknoglobals
1418 - gocognit
1519 - gocyclo
@@ -101,12 +105,6 @@
101105 funlen:
102106 lines: 60
103107 statements: 40
104-
105- gci:
106- # put imports beginning with prefix after 3rd-party packages;
107- # only support one prefix
108- # if not set, use goimports.local-prefixes
109- local-prefixes: github.com/org/project
110108
111109 gocognit:
112110 # minimal code complexity to report, 30 by default (but we recommend 10-20)