mirror of
https://github.com/nikdoof/hg612-exporter.git
synced 2025-12-13 18:22:15 +00:00
chore: add golangci config
This commit is contained in:
23
.golangci.yml
Normal file
23
.golangci.yml
Normal file
@@ -0,0 +1,23 @@
|
||||
---
|
||||
run:
|
||||
timeout: 3m
|
||||
linters:
|
||||
enable:
|
||||
- bodyclose
|
||||
- exportloopref
|
||||
- gofmt
|
||||
- gosec
|
||||
- govet
|
||||
- misspell
|
||||
- noctx
|
||||
- staticcheck
|
||||
- unconvert
|
||||
- unparam
|
||||
- whitespace
|
||||
issues:
|
||||
max-same-issues: 0
|
||||
linters-settings:
|
||||
goimports:
|
||||
local-prefixes: github.com/jakekeeys/hg612-exporter
|
||||
misspell:
|
||||
locale: US
|
||||
Reference in New Issue
Block a user