Fix lint gosec and ifshort issues

This commit is contained in:
Lawrence, Rendall
2022-04-12 18:51:03 +03:00
parent 554ae6fcd6
commit 64eaf9d733
10 changed files with 25 additions and 22 deletions

View File

@@ -5,10 +5,11 @@ output:
sort-results: true
linters-settings:
goimports:
local-prefixes: "github.com/sot-te.ch/mochi"
local-prefixes: "sot-te.ch/mochi"
gosec:
excludes:
- "G404" # Allow the usage of math/rand
- "G505" # Allow SHA1 usage
linters:
enable:
- "bidichk"