New 🌊 wave for @helm

Commit 0b07dfdd

0b07dfdd1699Merged

Dmitriy Zhilyaev <[email protected]> · 4 years ago · 35 files · +2 added · ~33 modified

Description

Merge pull request #379 from helmwave/fix-linters

fix: linter issues and tests

Details

Commit
0b07dfdd1699
Parent
9d39e6c94cf6
Merge parent
ce4890866d69

.golangci.ymlmodifiedView file

@@ -13,7 +13,7 @@
1313 disable:
1414 - exhaustivestruct # deprecated
1515 - exhaustruct # it requires to initialize billions of fields, I ain't monkey to fix these
16- - gochecknoglobals # TODO: get rid of globals
16+ - gochecknoinits # we want to use `init()` functions
1717 - gocyclo # we use cyclop
1818 - godox # TODO: get rid of TODOs
1919 - goerr113 # need to create wrapped static errors
@@ -21,6 +21,7 @@
2121 - golint # deprecated
2222 - gomnd # we want to keep magic numbers
2323 - interfacer # deprecated
24+ - ireturn # sometimes we need to return interfaces
2425 - maligned # deprecated
2526 - nonamedreturns # we do want some named returns
2627 - scopelint # deprecated
@@ -441,8 +442,10 @@
441442 linters:
442443 - dupl
443444 - forcetypeassert
445+ - gochecknoglobals
444446 - goconst
445447 - godot
448+ - lll
446449 - revive
447450 - wrapcheck
448451