Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
OpenDAS
ollama
Commits
ed56428d
Commit
ed56428d
authored
Jun 04, 2024
by
Michael Yang
Browse files
warn on intrange, usestdlibvars
parent
ad40b92b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
7 deletions
+13
-7
.golangci.yaml
.golangci.yaml
+13
-7
No files found.
.golangci.yaml
View file @
ed56428d
...
@@ -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
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment