-
Notifications
You must be signed in to change notification settings - Fork 0
Detector: Go Linter
Jacob Centner edited this page Apr 10, 2026
·
2 revisions
Wraps golangci-lint for Go code quality and security checks.
| Property | Value |
|---|---|
| Name | go-linter |
| Tier | DETERMINISTIC |
| Languages | Go |
| External tool | golangci-lint |
| LLM required | No |
| Confidence | 1.00 |
Go lint issues from golangci-lint's metalinter suite — static analysis, vet checks, security (gosec), error handling (errcheck), and style.
- Checks for Go project markers (
go.modor.gofiles) - Runs
golangci-lint run --out-format=json --timeout=120s - Parses the JSON
Issuesarray - Maps linter names to Sentinel severity levels
| Linter | Category |
|---|---|
gosec |
Security |
govet |
Correctness |
staticcheck |
Static analysis |
errcheck |
Error handling |
Findings from these linters are elevated to HIGH severity.
[GO-LINT] internal/handler.go:42 — gosec (G104)
Errors unhandled
Severity: HIGH, Confidence: 1.00
# See https://golangci-lint.run/welcome/install/
go install github.com/golangci-lint/golangci-lint/cmd/golangci-lint@latest- Requires golangci-lint installed and available in PATH
- 120-second golangci-lint internal timeout, 150-second subprocess timeout
- Skips
vendor/directory
Local Repo Sentinel · MIT License
Getting Started
Reference
Detectors
- Detector: Todo Scanner
- Detector: Complexity
- Detector: Dead Code
- Detector: Dep Audit
- Detector: Docs Drift
- Detector: Unused Deps
- Detector: Lint Runner
- Detector: ESLint Runner
- Detector: Go Linter
- Detector: Rust Clippy
- Detector: Git Hotspots
- Detector: Stale Env
- Detector: Semantic Drift
- Detector: Test Coherence
- Detector: CI/CD Drift
- Detector: Architecture Drift
- Detector: Inline Comment Drift
- Detector: Intent Comparison
Advanced
Workflow