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.
A Oxlint plugin written by developer Dillon Mulroy that includes 15 rules intended to prevent many common TypeScript and JavaScript patterns made by AI coding agents. Rules include no-module-mocking, no-unknown-returns, no-chained-type-assertions, and other "short-cuts" taken by AI coding agents when writing 'working code' instead of evidence based code. This project is intended to be vendored (copied directly into your project) instead of using a hard dependency on npm so that you can customize the rules as needed.
Why a vibe-coder should care
For anybody who writes projects with an AI coding agent and wants to keep the generated TypeScript code as maintainable as possible, anti-slop will point out the patterns that slowly rot codebases into fragility. These are short-cuts often taken by AI coding agents when they don't have all of the information available about a codebase.
▌ More finds