|
|
|
@ -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.*$ |
|
|
|
|
|
|
|
|
|