REA ESLint flat config notes (unofficial)
eslint.config.js / .mjs / .ts pins ESLint flat-config identity. In REA 6.7.x, treat selected exports/rules/plugins as Evidence beside archive/package routes — complementing rea-eslintrc without inventing APIs.
Mental model
- Authorize the
eslint.config.*file (+ artifacts you hold). - Quote selected exports / rules / plugins / ignores you actually see (redact secrets).
- Legacy cousin → rea-eslintrc; lock cousin → rea-eslint-lock.
- Bind absolute paths honestly → rea-absolute-paths.
- Do not invent an ESLint-flat API REA never called.
Minimal path
# authorized eslint.config.js|.mjs|.ts (+ artifact you hold)
# quote selected exports/rules/plugins into case notes (redact secrets)
# cousins → eslintrc / eslint-lock / oxlint / lint-staged
# REA package/archive routes on /absolute/path/artifact --json
# do not invent: rea inspect_eslint_flat .
Compare
| Artifact | Honest posture |
|---|---|
| eslint.config.* | Flat-config identity facts |
| .eslintrc cousin | rea-eslintrc |
| Oxlint cousin | rea-oxlint |
| Evidence binder | rea-evidence-explained |
Scope we will not cover
- No inventing
inspect_eslint_flat/ automatic lint runs. - No credential theft from config secrets / env.
- No pirate redistribution of paid packages.
- No crack framing via ESLint flat pins.
RepoRead is unofficial. Prefer config honesty + DISCLAIMER.md.
FAQ
How is this different from rea-eslintrc / rea-eslint-lock?
rea-eslintrc zooms on legacy .eslintrc* files. rea-eslint-lock zooms on lock/policy framing. This page zooms on eslint.config.* flat config pins as Evidence — it does not overwrite those pages.
Is there inspect_eslint_flat in 6.7.0?
Not assumed. Quote flat exports/rules/plugins you actually open. Do not invent inspect_eslint_flat.
Does REA run ESLint or steal secrets from config?
No. Local trees only. Redact secrets/env; do not treat REA as an ESLint runner.
Flat config vs Oxlint / lint-staged?
Label Evidence by the file present. Keep this lane separate from rea-oxlint and rea-lint-staged.
npm version checked?
rea-agents 6.7.0 (re-checked 2026-10-24).