New 🌊 wave for @helm

Commit c7ae884c

c7ae884cd421Merged

Sviatoslav Dumchenko <[email protected]> · 2 years ago · 6 files · ~6 modified

Description

chore: tune linter

Details

Commit
c7ae884cd421
Parent
200a94e4b043

.golangci.ymlmodifiedView file

@@ -230,8 +230,6 @@
230230 truncate: "32"
231231
232232 gosimple:
233- # Select the Go version to target. The default is '1.13'.
234- go: "1.17"
235233 # https://staticcheck.io/docs/options#checks
236234 checks:
237235 - all
@@ -633,15 +631,11 @@
633631 disabled: false
634632
635633 staticcheck:
636- # Select the Go version to target. The default is '1.13'.
637- go: "1.17"
638634 # https://staticcheck.io/docs/options#checks
639635 checks:
640636 - all
641637
642638 stylecheck:
643- # Select the Go version to target. The default is '1.13'.
644- go: "1.17"
645639 # https://staticcheck.io/docs/options#checks
646640 checks:
647641 - all
@@ -745,9 +739,6 @@
745739 # with golangci-lint call it on a directory with the changed file.
746740 check-exported: false
747741
748- unused:
749- go: "1.17"
750-
751742 whitespace:
752743 multi-if: false # Enforces newlines (or comments) after every multi-line if statement
753744 multi-func: false # Enforces newlines (or comments) after every multi-line function signature
@@ -792,7 +783,6 @@
792783 exclude-rules:
793784 - path: pkg/version/
794785 linters:
795- - gochecknoglobals
796786 - lll
797787 - wrapcheck
798788 - path: config\.go
@@ -805,7 +795,6 @@
805795 - dupword
806796 - forcetypeassert
807797 - funlen
808- - gochecknoglobals
809798 - goconst
810799 - godot
811800 - lll
@@ -856,7 +845,6 @@
856845 - severity: warning
857846 linters:
858847 - forcetypeassert
859- - gochecknoglobals
860848 - funlen
861849 - paralleltest
862850 - severity: notice