Enable dupword linter

Signed-off-by: Maksym Pavlenko <pavlenko.maksym@gmail.com>
This commit is contained in:
Maksym Pavlenko
2023-01-03 12:47:16 -08:00
parent c5c636b7a9
commit 06bfcd658c
14 changed files with 17 additions and 12 deletions

View File

@@ -13,6 +13,7 @@ linters:
- unconvert
- unused
- vet
- dupword # Checks for duplicate words in the source code
disable:
- errcheck
@@ -34,7 +35,7 @@ linters-settings:
# The following issues surfaced when `gosec` linter
# was enabled. They are temporarily excluded to unblock
# the existing workflow, but still to be addressed by
# by future works.
# future works.
excludes:
- G204
- G305