whereismyai
Deslop
Deslop is a linter plugin providing Oxlint rules that reject low-evidence TypeScript code patterns.
Deslop is a collection of opinionated Oxlint rules designed to reject low-evidence, low-signal code patterns typically generated by AI tools in TypeScript projects. It targets type safety issues, code quality anti-patterns, test limitations, and duplicates, with rules renamed under the deslop namespace. The tool ships compiled JavaScript and works with any oxlint JS-plugin runtime including Bun, Deno, and Node.js. It includes specific checks for type assertions, object parameters, runtime typeof, array filter and map passes, test assertions, and Tailwind CSS class spellings. The project is distributed under the MIT license with vendored rules from dmmulroy/anti-slop.
Deslop at a glance
- Best for: Software engineer
- Runs on: CLI, self-hosted, open source
- Pricing: Free
- Released: September 2026
- Category: AI coding tool
- Website: github.com/maharshi365/deslop
Key features
- Rejects nested type assertions and angle-bracket assertions
- Reports object spreads using conditional empty object branches
- Disallows unknown types on function inputs and return contracts
- Rejects adjacent eager array filter and map passes
- Flags tests whose assertions only check mock calls
- Reports duplicate constants and exact duplicate object contracts
- Fixes non-canonical Tailwind CSS version 4 class spellings
Use it for
- Enforcing strict type safety on AI-generated TypeScript code
- Removing low-signal code patterns and redundant type assertions
- Detecting poor substring tests and mock-only assertions in test files
- Standardizing Tailwind CSS v4 class spellings automatically
Alternatives to Deslop
- Anti Slop — Enforces strict coding standards and eliminates low-signal code patterns.
- jevgrep — Reduces coding agent costs by providing targeted, relevant repository context.
- Ponytail — Cuts unneeded code and dependencies by enforcing a minimal-code ladder.
- jscpd — A native Rust binary that runs fast without a Node.js runtime and integrates with AI agents.
- Axiomcodegraph — Resolves calls from types rather than syntax for higher accuracy.
- shadcn Lint — It guides coding agents to follow design system rules and fix violations.
- Lowdefy — Declarative YAML config makes AI-generated code reviewable and maintainable.
- Ax — Develop and improve AI features with consistent, type-safe code across six languages.
- Autoloom — It embeds engineering judgment, change necessity checks, and evidence-backed delivery into automated coding.
- JS Reverse MCP — It organizes scripts, breakpoints, and network data for continuous AI agent reasoning.
- Anti Slop — Filters out generic AI-generated UI designs, text, and code.
- Typia — Generates validation and schema logic at compile time from TypeScript types.
All Deslop alternatives