Browse Source

Remove unused linter

pull/2068/head
Gabe Kangas 3 years ago
parent
commit
7541250d8e
No known key found for this signature in database
GPG Key ID: 9A56337728BC81EA
  1. 8
      .golangci.yml

8
.golangci.yml

@ -48,9 +48,7 @@ linters: @@ -48,9 +48,7 @@ linters:
- nakedret
- cyclop
- gosimple
- varcheck
- unused
- deadcode
- exportloopref
- gocritic
- forbidigo
@ -71,9 +69,9 @@ linters-settings: @@ -71,9 +69,9 @@ linters-settings:
gosimple:
# Select the Go version to target. The default is '1.13'.
go: "1.17"
go: '1.17'
# https://staticcheck.io/docs/options#checks
checks: ["all"]
checks: ['all']
gocritic:
disabled-checks:
@ -83,7 +81,7 @@ linters-settings: @@ -83,7 +81,7 @@ linters-settings:
forbidigo:
# Forbid the following identifiers (identifiers are written using regexp):
forbid:
# Logging via Print bypasses our logging framework.
# Logging via Print bypasses our logging framework.
- ^(fmt\.Print(|f|ln)|print|println)
- ^panic.*$

Loading…
Cancel
Save