REA golangci-lint notes (unofficial)
golangci-lint trees (.golangci.yml / enable / disable / linters pins) record Go meta-linter identity. In REA 6.7.x, treat selected enable and linter labels as Evidence beside archive/package routes — complementing gosec / Ruff / ESLint cousins without inventing APIs. Distinct from rea-gosec (meta-linter ≠ single security linter) and rea-ruff (Go ≠ Python). Preferred free backup from batch120 note — KEEP.
Mental model
- Authorize the golangci-lint config tree (+ packaged charts you hold).
- Quote selected identity labels you actually see (never paste secrets/tokens).
- Cousins → gosec · ruff · eslint-flat · shellcheck.
- Bind absolute paths honestly → rea-evidence-explained.
- Do not invent a
inspect_golangci_lintAPI REA never called.
Minimal path
# authorized golangci-lint .golangci.yml / enable pins (+ charts you hold)
# quote selected identity labels into case notes (never live secrets)
# cousins → peer lanes above
# REA package/archive routes on /absolute/path/artifact --json
# do not invent: rea inspect_golangci_lint .
Compare
| Artifact | Honest posture |
|---|---|
| enable / linters pins | golangci-lint stack identity facts |
| Peer | rea-gosec |
| Peer | rea-ruff |
| Not this | rea-eslint-flat (ESLint zoom) |
| Evidence binder | rea-evidence-explained |
Config literacy notes (authorized trees)
- Quote selected linter names, enable/disable lists, and severity floors only — enough for most Evidence binders.
- Private module proxy tokens and private linter plugin secrets are secrets — record key names only.
- Keep golangci-lint stack identity distinct from gosec / Ruff trees in case notes.
- Chart image tag pins are identity Evidence — label them separately from cousin pages.
- Select keys are useful inventory — quote them without inventing REA helpers for live golangci-lint scans.
Scope we will not cover
- No inventing
inspect_golangci_lint/ automatic scans against foreign repos. - No credential theft from module proxy tokens or private linter plugins.
- No pirate redistribution of proprietary golangci-lint trees.
- No crack framing via golangci-lint pins.
- No cookbooks that weaken Go lint policy on foreign accounts.
- No using golangci-lint as an unauthorized lint-recon guide against repos you do not own.
Honest limits
RepoRead documents config literacy — how authorized golangci-lint trees relate to Evidence — not a full Go meta-linter course. Prefer upstream golangci-lint docs; use rea-gosec for Go security-lint peers. When REA 6.7.0 has no dedicated helper, quote the pins you opened and stay on documented archive/package lanes.
RepoRead is unofficial. Prefer config honesty + DISCLAIMER.md.
FAQ
How is this different from rea-gosec / rea-ruff / rea-eslint-flat / rea-shellcheck?
rea-gosec covers gosec. rea-ruff covers Ruff. rea-eslint-flat covers ESLint flat config. rea-shellcheck covers ShellCheck. This page zooms on golangci-lint Go meta-linter stack identity — it does not overwrite those pages.
Is there inspect_golangci_lint in 6.7.0?
Not assumed. Quote .golangci.yml / enable / disable / linters pins you actually open, then use documented package/archive lanes. Do not invent inspect_golangci_lint.
Does REA call golangci-lint APIs or steal tokens?
No. Local trees only. Redact private module proxy tokens and private linter plugin secrets; do not treat REA as a golangci-lint runner. No credential theft.
How should I label Evidence vs cousin trees?
Label Evidence by the file present. Keep golangci-lint stack identity separate from rea-gosec (meta-linter ≠ single gosec) and rea-ruff.
npm version checked?
rea-agents 6.7.0 (re-checked 2026-10-24).