diff options
author | Jaime Martinez <jmartinez@gitlab.com> | 2023-05-08 05:09:10 +0300 |
---|---|---|
committer | Jaime Martinez <jmartinez@gitlab.com> | 2023-05-08 05:09:10 +0300 |
commit | 1fe7261a90660978039adb8a8e46b095dad69659 (patch) | |
tree | 16c0dcc954605b018aad9d5ba1d53f9cd278a29a /.golangci.yml | |
parent | 6c557b2169b961d9f5b8ba5f9acc6636071c5421 (diff) |
Upgrade golangci-lint to v1.52.2 on CI
Diffstat (limited to '.golangci.yml')
-rw-r--r-- | .golangci.yml | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/.golangci.yml b/.golangci.yml index 7009afd9..dd8bf738 100644 --- a/.golangci.yml +++ b/.golangci.yml @@ -81,7 +81,6 @@ linters: disable-all: true enable: - bodyclose - - deadcode - dogsled - errorlint - gci @@ -95,17 +94,16 @@ linters: - misspell - revive - staticcheck - - structcheck - typecheck - unconvert - unparam - unused - - varcheck - whitespace - - nolintlint fast: false issues: + exclude: + - "unused-parameter:" # Excluding configuration per-path, per-linter, per-text and per-source exclude-rules: - path: _test\.go @@ -116,6 +114,10 @@ issues: - path: internal/fixture/fixtures\.go linters: - gosec + - path: app.go + text: "G112" + linters: + - gosec # Maximum issues count per one linter. Set to 0 to disable. Default is 50. max-issues-per-linter: 0 |