diff --git a/.github/workflows/lint.yaml b/.github/workflows/lint.yaml index a8045d95..138c9e33 100644 --- a/.github/workflows/lint.yaml +++ b/.github/workflows/lint.yaml @@ -25,4 +25,4 @@ jobs: - name: Golangci lint uses: golangci/golangci-lint-action@v3 with: - version: v1.46.2 \ No newline at end of file + version: v1.48.0 \ No newline at end of file diff --git a/.golangci.yaml b/.golangci.yaml index ae0f6f9e..427e5700 100644 --- a/.golangci.yaml +++ b/.golangci.yaml @@ -62,6 +62,12 @@ output: # all available settings of specific linters linters-settings: + gci: + sections: + - standard + - default + - prefix(github.com/helmfile/helmfile) + errcheck: # report about not checking of errors in type assetions: `a := b.(MyStruct)`; # default is false: such cases aren't reported by default. @@ -278,6 +284,7 @@ linters: - unparam - unused - whitespace + - gci # don't enable: # - deadcode # - gochecknoglobals