fix(go): Added linters/linter config.

This commit is contained in:
Spencer Brower
2026-05-19 13:45:38 -04:00
parent fe4be18401
commit f90355cc2d
2 changed files with 28 additions and 1 deletions

View File

@@ -0,0 +1,22 @@
version: "2"
linters:
default: standard
enable:
- bidichk
- contextcheck
- decorder
- exhaustive
- fatcontext
- gosec
- govet
- intrange
- maintidx
- modernize
- noctx
- prealloc
- recvcheck
- sloglint
- usestdlibvars
formatters:
enable:
- goimports