Upgrade linter rules

This commit is contained in:
arnaucube
2020-12-15 19:33:14 +01:00
parent 730707e565
commit e5a3d7e049
10 changed files with 244 additions and 178 deletions

View File

@@ -13,4 +13,4 @@ jobs:
- name: Lint
run: |
curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(go env GOPATH)/bin v1.30.0
$(go env GOPATH)/bin/golangci-lint run --timeout=5m -E whitespace -E gosec -E gci -E misspell -E gomnd --max-same-issues 0
$(go env GOPATH)/bin/golangci-lint run --timeout=5m -c .golangci.yml