0

Remove unused linter

This commit is contained in:
Gabe Kangas 2022-08-26 19:20:45 -07:00
parent de06005d01
commit b2398152ab
No known key found for this signature in database
GPG Key ID: 9A56337728BC81EA

View File

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