Chore: Enable golangci-lint

Add a GitHub actions workflow to run golangci-lint.

Signed-off-by: SuperQ <superq@gmail.com>
This commit is contained in:
SuperQ
2025-01-05 18:36:25 +01:00
parent d3641bb4b9
commit 75296b4b7e
9 changed files with 63 additions and 23 deletions

12
.golangci.yml Normal file
View File

@@ -0,0 +1,12 @@
---
linters:
enable:
# - goimports
# - misspell
# - revive
issues:
exclude-rules:
- path: _test.go
linters:
- errcheck