Skip to content
Snippets Groups Projects
Commit 6858f7da authored by Fabian Seidl's avatar Fabian Seidl
Browse files

more linters

parent 96380d79
No related branches found
No related tags found
1 merge request!363Resolve "Improve security by enabling and enforcing more linting rules"
Pipeline #110722 passed
......@@ -33,7 +33,7 @@ issues:
linters:
# enable the specific needed linters
# see here for full list: https://golangci-lint.run/usage/linters/
# linters to consider: gosimple, containedctx, contextcheck, depguard, errname
# linters to consider: gosimple, containedctx, contextcheck, depguard, errname, exhaustive, exhaustruct, forbidigo, forcetypeassert, forcetypeassert, gochecknoinits, gocognit, goconst
disable-all: true
enable:
- gofmt
......@@ -54,6 +54,7 @@ linters:
- durationcheck
- errchkjson
- errorlint
- exportloopref
# custom settings for linters
linters-settings:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment