test: remove the rule-map parity gate now the migration has landed (5/5)

Stage MR What it does
1 !170 (merged) freeze the eslintrc rule maps
2 !171 (merged) ESLint 9 + RuleTester specs
3 !172 (merged) the seven flat configs (additive, deletes nothing)
4 !173 (merged) delete eslintrc, rewire entrypoints — cuts the release
5 !174 (merged) ← you are here remove the parity gate now it has served its purpose

Merge in order; each MR targets the one before it, so the diff here is only this stage. Only stage 4 carries a changeset, so only stage 4 publishes.

What this does

Deletes the tooling stages 1–4 were built around: tests/fixtures/rule-maps/ (seven frozen rule maps and deltas.js), tests/lib/configs/parity.spec.js, and scripts/generateRuleMapFixtures.js. 21k lines, 544 kB. The suite goes 537 → 508.

Almost all of the diff is deleted JSON. The only edit is one comment in scripts/helpers/getConfigs.js, which warned that a stray helper in lib/flat-configs/ would break the parity gate; it now names exports.spec.js, which is what catches that.

Why it belongs in this initiative

The gate existed to prove one thing: that porting the seven eslintrc configs to flat config moved no rule. It did, and it earned its keep — it caught a silent Vue 2 → Vue 3 retarget, an ordering bug that left six vue/* rules at the wrong severity in default, and 56 rules of option loss from collapsing config objects.

It has no purpose after that, and keeping it would cost. The fixtures are frozen eslintrc output, so a config written from now on cannot have one — and the gate rejects any config without a fixture. A deliberate rule change would need a delta meaning "we changed this on purpose", the opposite of what every entry means today, turning deltas.js into an allowlist of everything anyone has ever changed.

An earlier revision of stage 3 documented a removal trigger and left the work to whoever hit it. That was the wrong call — it pushed this initiative's cleanup onto a stranger whose easier and wrong move would have been to add a delta.

What is not removed

exports.spec.js and all 22 rule specs. Nothing now guards against an accidental rule change in a flat config — which was also true before this migration. If that protection is wanted it should be written for the purpose, not inherited from a snapshot of a release the package has moved past.

Verification

508 passing. lockfile stability and ensure updated files both pass. No changeset.

🤖 Generated with Claude Code

Edited by Paul Gascou-Vaillancourt

Merge request reports

Loading
Loading