mirror of
https://github.com/ClusterCockpit/cc-backend
synced 2026-03-30 20:47:31 +02:00
Add configuration and document usage in README Entire-Checkpoint: 53425877e242
31 lines
606 B
YAML
31 lines
606 B
YAML
run:
|
|
timeout: 5m
|
|
|
|
linters:
|
|
enable:
|
|
- gofumpt # gofumpt = true
|
|
- staticcheck # staticcheck = true
|
|
- unparam # unusedparams = true
|
|
- nilnil # nilness = true (catches nil returns of nil interface values)
|
|
- govet # base vet; nilness + unusedwrite via govet analyzers
|
|
|
|
linters-settings:
|
|
gofumpt:
|
|
module-path: github.com/ClusterCockpit/cc-backend
|
|
|
|
govet:
|
|
enable:
|
|
- nilness
|
|
- unusedwrite
|
|
|
|
issues:
|
|
exclude-dirs:
|
|
- .git
|
|
- .vscode
|
|
- .idea
|
|
- node_modules
|
|
exclude-rules:
|
|
- path: _test\.go
|
|
linters:
|
|
- unparam
|