REA ESLint flat config notes (unofficial)

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

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

  1. Authorize the eslint.config.* file (+ artifacts you hold).
  2. Quote selected exports / rules / plugins / ignores you actually see (redact secrets).
  3. Legacy cousin → rea-eslintrc; lock cousin → rea-eslint-lock.
  4. Bind absolute paths honestly → rea-absolute-paths.
  5. 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

ArtifactHonest posture
eslint.config.*Flat-config identity facts
.eslintrc cousinrea-eslintrc
Oxlint cousinrea-oxlint
Evidence binderrea-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).

Sources