ci(golangci-lint): switch to latest (#870)

* ci(golangci-lint): switch to latest

remove schema override since it was fixed in upstream

Signed-off-by: hackercat <me@hackerc.at>

* fix: apply lint fixes
This commit is contained in:
Ryan
2021-11-12 21:48:10 +01:00
committed by GitHub
parent 11f6ee37a6
commit cd24df5727
4 changed files with 5 additions and 8 deletions

View File

@@ -1,7 +1,4 @@
# yaml-language-server: $schema=https://schemastore.pages.dev/schemas/json/golangci-lint.json
# Your editor might complain about invalid types, but this is correct config
# above schema should prevent editor from "shouting" about this
# Minimum golangci-lint version required: v1.40.0
# Minimum golangci-lint version required: v1.42.0
run:
timeout: 3m
@@ -32,7 +29,7 @@ linters:
enable:
- megacheck
- govet
- golint
- revive
- gocyclo
- gosec
- unconvert