Skip to content
Snippets Groups Projects

Resolve "Improve security by enabling and enforcing more linting rules"

1 file
+ 2
1
Compare changes
  • Side-by-side
  • Inline
+ 2
1
@@ -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:
Loading