chore: enable govet linter

Signed-off-by: Matthieu MOREL <matthieu.morel35@gmail.com>
pull/1825/head
Matthieu MOREL 2 months ago
parent 3c34181ac9
commit 10be661aa4

@ -20,6 +20,7 @@ linters:
- gocritic - gocritic
- gomodguard - gomodguard
- gosec - gosec
- govet
- importas - importas
- misspell - misspell
- nakedret - nakedret
@ -33,7 +34,6 @@ linters:
- usetesting - usetesting
disable: disable:
- errcheck - errcheck
- govet
- ineffassign - ineffassign
- staticcheck - staticcheck
- unused - unused
@ -51,6 +51,13 @@ linters:
gosec: gosec:
excludes: excludes:
- G115 - G115
govet:
disable:
- copylocks
- fieldalignment
- shadow
- testinggoroutine
enable-all: true
perfsprint: perfsprint:
# Optimizes even if it requires an int or uint type cast. # Optimizes even if it requires an int or uint type cast.
int-conversion: true int-conversion: true

Loading…
Cancel
Save