REA lint-staged RC notes (unofficial)

Last updated: · By the RepoRead editorial team · Unofficial guide
Quick answer

.lintstagedrc* / package.json lint-staged pins staged-command identity. In REA 6.7.x, treat selected glob/command pins as Evidence beside archive/package routes — complementing rea-lint-staged without inventing APIs.

Mental model

  1. Authorize the lint-staged RC (+ artifacts you hold).
  2. Quote selected glob / command pins you actually see (never paste secrets).
  3. Cousins → rea-lint-staged · rea-husky-dir · rea-lefthook-yml · rea-prettier-config.
  4. Bind absolute paths honestly → rea-absolute-paths.
  5. Do not invent a lintstaged-rc API REA never called.

Minimal path

# authorized .lintstagedrc* / package.json lint-staged key (+ artifact you hold)
# quote selected glob/command pins into case notes; never paste secrets
# cousins → lint-staged / husky-dir / lefthook-yml / prettier-config
# REA package/archive routes on /absolute/path/artifact --json
# do not invent: rea inspect_lintstaged_rc .

Compare

ArtifactHonest posture
.lintstagedrc* / package.json keyStaged-command identity facts
lint-staged lanerea-lint-staged
husky / lefthookrea-husky-dir · rea-lefthook-yml
Evidence binderrea-evidence-explained

Scope we will not cover

  • No inventing inspect_lintstaged_rc / automatic hook runs.
  • No credential theft from env / tokens in hook scripts.
  • No pirate redistribution of paid packages.
  • No crack framing via lint-staged pins.

RepoRead is unofficial. Prefer config honesty + DISCLAIMER.md.

FAQ

How is this different from rea-lint-staged / rea-husky-dir?

rea-lint-staged covers the general lint-staged lane; rea-husky-dir covers .husky/. This page zooms on .lintstagedrc* / package.json lint-staged RC Evidence — it does not overwrite those pages.

Is there inspect_lintstaged_rc in 6.7.0?

Not assumed. Quote command/globs you actually open. Do not invent inspect_lintstaged_rc.

Does REA run lint-staged or call git hooks?

No. Local trees only. No credential theft.

.lintstagedrc.js vs package.json "lint-staged" key?

Label Evidence by the file/key present. Quote what you open.

npm version checked?

rea-agents 6.7.0 (re-checked 2026-10-24).

Sources