enable gofmt linter

This commit is contained in:
Matthieu MOREL 2021-11-09 19:08:13 +01:00 committed by GitHub
parent 2507ccc2d3
commit f7e62ce2c2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,6 +1,13 @@
run: run:
timeout: 5m timeout: 5m
linters: linters:
enabled: enable:
- gofmt
- goimports - goimports
- gosec - gosec
issues:
exclude-rules:
- linters:
- gosec
text: "Implicit memory aliasing in for loop."
path: _test\.go