GitHub radar

anti-slop: Oxlint Plugin for AI Generated TypeScript

A vendorized Oxlint plugin for 15 rules that discourage many common TypeScript and JavaScript patterns written by AI coding agents. Includes rules for things like no chain type assertions, no unknown returns, no module mocking, and other non-evidence based code. Add this ruleset to your AI coding agent’s skill in one line and customize rules to your liking.

01dmmulroy/anti-slop 322TypeScript

An Oxlint plugin developed by developer Dillon Mulroy containing 15 rules designed to stop many typical TypeScript/JavaScript practices by AI coding agents. Rules such as no-module-mocking, no-unknown-returns, no-chained-type-assertions, and more “shortcuts” used by AI coding agents while writing “working code” rather than evidence-based code. The goal here is to vendor this package (copy it directly into your own project), rather than having a hard dependency on npm, allowing you to tailor these rules to your liking.

Why a vibe-coder should care

If you’re someone who develops projects involving an AI coding agent, and you want to ensure the resulting TypeScript code remains as maintainable as possible, then anti-slop can help you identify patterns which gradually erode your codebase into fragility. Some shortcuts that AI coding agents take when they don’t have enough information about your codebase.

Open on GitHub