Open-source Grok Bot alternative for named AI teammates. Local-first desktop, web, and mobile clients with per-bot tools, instructions, and memory. Independent fork of T3 Code.
oxlint-plugin-anti-slop
Vendored copy of dmmulroy/anti-slop, an Oxlint plugin that rejects low-evidence TypeScript patterns. Akeru owns this copy. Edit rules here when our policy differs, and record the change below.
The root vite.config.ts registers two entry points: index.ts (generic rules) and
effect/index.ts (Effect rules). Severities and the reasons behind them live in
docs/internals/lint.md.
Provenance
- Source:
https://github.com/dmmulroy/anti-slop, commitc44ef22ca116d0ba62a3ff663a0bd13a3f3fa40b(2026-09-10). - Copied: the upstream
src/tree, including*.test.tssuites andvendor/eslint-stylistic/with itsLICENSEandUPSTREAM.md. UpstreamLICENSEis kept at the root of this directory. - Vendored: 2026-09-30.
- Base for future three-way merges: the commit above.
git log -- oxlint-plugin-anti-slopshows the pristine import as the first commit that touched this directory.
Local deviations
rules/no-widen-then-assert.tsandshared/function-parameters.ts: type-only changes markedAKERU:. Upstream targets@oxlint/plugins1.78, whose typings allow a type annotation on a binding identifier. We pin 1.72 to match the Oxlint that Vite+ resolves, and its typings saynull. Runtime behavior is unchanged. Drop both once Oxlint reaches 1.78 here.rules/no-module-mocking.ts: recognizevite-plus/testas a Vitest source, including aliasedviimports. Akeru uses this entry point for its tests. Regression cases cover both direct and aliased imports. The root lint config documents the test-harness exception.package.jsonandtsconfig.jsonare Akeru's. Tests run withnode --testinstead oftsx.
Tests
vp run --filter @akeru/oxlint-plugin-anti-slop test
vp run --filter @akeru/oxlint-plugin-anti-slop typecheck
To update this copy, use the install-anti-slop skill in .agents/skills/.