Commit ed56428d authored by Michael Yang's avatar Michael Yang
Browse files

warn on intrange, usestdlibvars

parent ad40b92b
...@@ -9,11 +9,9 @@ linters: ...@@ -9,11 +9,9 @@ linters:
- contextcheck - contextcheck
- exportloopref - exportloopref
- gocheckcompilerdirectives - gocheckcompilerdirectives
# FIXME: for some reason this errors on windows - gofmt
# - gofmt - goimports
# - goimports - intrange
# TODO: disable for now
# - intrange
- misspell - misspell
- nilerr - nilerr
- nolintlint - nolintlint
...@@ -21,7 +19,15 @@ linters: ...@@ -21,7 +19,15 @@ linters:
- testifylint - testifylint
- unconvert - unconvert
- unused - unused
# TODO: bmizerany says no :(
# - usestdlibvars
- wastedassign - wastedassign
- whitespace - whitespace
- usestdlibvars
severity:
default-severity: error
rules:
- linters:
- gofmt
- goimports
- intrange
- usestdlibvars
severity: info
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment