From a64246e217816b08a75da432afe8c620d6746f8f Mon Sep 17 00:00:00 2001 From: HIRONO Koji Date: Wed, 6 Apr 2022 10:19:41 +0900 Subject: [PATCH] Upgrade golangci-lint v1.45.2 --- .github/workflows/golangci-lint.yml | 2 +- .golangci.yml | 7 ++++++- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/.github/workflows/golangci-lint.yml b/.github/workflows/golangci-lint.yml index 72f27e4..b6f786e 100644 --- a/.github/workflows/golangci-lint.yml +++ b/.github/workflows/golangci-lint.yml @@ -19,7 +19,7 @@ jobs: uses: golangci/golangci-lint-action@v2 with: # Required: the version of golangci-lint is required and must be specified without patch version: we always use the latest patch version. - version: v1.35.0 + version: v1.45.2 # Optional: working directory, useful for monorepos # working-directory: somedir diff --git a/.golangci.yml b/.golangci.yml index 3ae4931..011ef1a 100644 --- a/.golangci.yml +++ b/.golangci.yml @@ -198,7 +198,12 @@ linters-settings: multi-if: false # Enforces newlines (or comments) after every multi-line if statement multi-func: false # Enforces newlines (or comments) after every multi-line function signature gci: - local-prefixes: "github.com/free5gc" + sections: + - standard + - default + - prefix(github.com/free5gc) + section-separators: + - newLine misspell: #locale: US ignore-words: