fix list warnings

* remove deprecated lint checks
* reformat files
* update dependencies
This commit is contained in:
Lawrence, Rendall
2022-09-06 13:34:57 +03:00
parent 170639eb3e
commit 694592f881
11 changed files with 123 additions and 118 deletions

View File

@@ -20,7 +20,6 @@ linters:
enable:
- "bidichk"
- "bodyclose"
- "deadcode"
- "errcheck"
- "errname"
- "errorlint"
@@ -30,7 +29,6 @@ linters:
- "gosec"
- "gosimple"
- "govet"
- "ifshort"
- "importas"
- "ineffassign"
- "makezero"
@@ -39,13 +37,11 @@ linters:
- "revive"
- "rowserrcheck"
- "staticcheck"
- "structcheck"
- "stylecheck"
- "tenv"
- "typecheck"
- "unconvert"
- "unused"
- "varcheck"
- "wastedassign"
- "whitespace"
issues: