Skip to content
Tech News
← Back to articles

ai-deslop npm package adds Oxlint rules targeting AI-generated TypeScript patterns

read original more articles
GoKawiil Brief

A developer released ai-deslop, an npm package bundling Oxlint rules aimed at flagging common low-quality patterns found in AI-generated TypeScript code, such as chained type assertions, unsafe use of 'unknown' types, and object-typed function parameters. The rules combine ones vendored from dmmulroy/anti-slop with additional checks, all under a deslop/* namespace, and ship as compiled JavaScript compatible with any Oxlint JS-plugin runtime including Bun, Deno, or Node.js.

Why It Matters

GoKawiil's interpretation of the reporting above, not reported fact.

The tool reflects a growing concern among developers that AI coding assistants introduce subtle type-safety shortcuts and low-evidence patterns that pass compilation but weaken code reliability. By codifying these patterns into linter rules, the project suggests teams could enforce stricter review standards specifically calibrated to catch AI-assistant output, potentially becoming a template for similar tooling as AI-generated code grows more common in production codebases.

Key Takeaways

Source: github.com, 2026-10-13

Published there as: “Show HN: Deslop – Oxlint rules for AI-generated TypeScript”

Read the original report → The summary and analysis above are GoKawiil's own, written from reporting by the source above. Facts and quotes belong to the original publisher.