# The anti-slop lint rules were measured, and one stays

The vendored anti-slop plugin and Cloudflare's oxlint config were run on the template. Only the native oxc/no-accumulating-spread is enabled; the install-anti-slop skill is removed.

- **`oxc/no-accumulating-spread` is an error.** `reduce((acc, item) => ({ ...acc, [item.id]: item }), {})` copies the accumulator on every step. Build the object in a loop or with `Object.fromEntries`. The rule is native to oxlint, found nothing in the template and costs nothing measurable. ([#249](https://github.com/CarlosZiegler/fofo/pull/249))
- **The anti-slop plugin is not used, and its skill is gone.** With its 23 rules on, lint reported 16,549 findings, none a defect in the samples read, and ran 1.5 to 3.5 times slower. Most rules flag what this repository does on purpose: `unknown` and `typeof` in boundary parsers, the exhaustive `switch (error._tag)` of a feature's error mapper. `.agents/skills/install-anti-slop` is removed from `skills-lock.json`. ([#249](https://github.com/CarlosZiegler/fofo/pull/249))
- **Cloudflare's oxlint config is not adopted yet.** Its type-aware rules need the beta `tsrs` backend, which does not read four of the workspace's tsconfigs, and its preset brings two dependencies without provenance. Numbers per rule and how to repeat the run: [`docs/measurements/2026-11-28-anti-slop-lint.md`](https://github.com/CarlosZiegler/fofo/blob/main/docs/measurements/2026-11-28-anti-slop-lint.md); the short version is in [enforcement](/docs/development/enforcement#notes-on-the-lint-configuration). ([#249](https://github.com/CarlosZiegler/fofo/pull/249))
