SignalTech/AI
Show HN: Deslop – Oxlint rules for AI-generated TypeScript
High-priority alert based on source significance and keyword relevance.
Context
What happened: A Show HN post introduced Deslop, an npm package of opinionated Oxlint rules that reject low-evidence, low-signal, AI-generated TypeScript code patterns. Rules are vendored from dmmulroy/anti-slop and renamed under the deslop/* namespace.
Key numbers: Install via npm install --save-dev ai-deslop.
Why it matters: The rules target patterns such as chained type assertions, unknown parameters and returns, and module mocking, with some requiring type-aware linting. It ships compiled JavaScript and works with Bun, Deno, or Node.js oxlint JS-plugin runtimes.
What changed
A Show HN post introduced Deslop, an npm package of opinionated Oxlint rules that reject low-evidence, low-signal, AI-generated TypeScript code patterns. Rules are vendored from dmmulroy/anti-slop and renamed under the deslop/* namespace.
Why it matters
The rules target patterns such as chained type assertions, unknown parameters and returns, and module mocking, with some requiring type-aware linting. It ships compiled JavaScript and works with Bun, Deno, or Node.js oxlint JS-plugin runtimes.