# Deslop - Oxlint rules that reject AI-generated TypeScript slop

Original title: Show HN: Deslop – Oxlint rules for AI-generated TypeScript

> Hacker News story 50075809 · language: en · submitted 2026-10-13
> Web version: https://zeli.app/story/50075809
> About this feed: https://zeli.app/llms.txt · Agent guide: https://zeli.app/skill.md

▲ 32 · by [maharshi365](<https://news.ycombinator.com/user?id=maharshi365>) · 💬 7
[original](<https://github.com/maharshi365/deslop>) · [HN discussion](<https://news.ycombinator.com/item?id=50075809>)

## Summary

Deslop is an opinionated set of Oxlint rules that catches low-evidence, low-signal patterns typical of AI-generated TypeScript. It rejects chained type assertions, unknown parameters, unsafe dictionaries, and other type-safety escape hatches, while also flagging code quality issues like adjacent filter/map passes and redundant test assertions. Built on rules vendored from dmmulroy/anti-slop, it installs via npm and works with Bun, Deno, or Node.js. Just add it to your Oxlint config to automatically enforce cleaner, more trustworthy TypeScript.

## Key quote

> Opinionated Oxlint rules that reject low-evidence, low-signal, AI-slop code patterns.

## HN discussion (7 comments)

### [SSchick](<https://news.ycombinator.com/item?id=50078412>)

> I work on a project where we recently heavily pivoted into AI assisted feature development and without a extremely defensive/aggressive lint config and test coverage near ~80% most of these developments would be quiet impossible.
>
> `no-reflect-get` is definitely one I'd adopt, claude LOVES `Reflect.get` for some reason
>
> A lot of the lint rules in this repo remind me of https://github.com/sindresorhus/eslint-plugin-unicorn, I can't wait until oxlint has plugin support so I can move over to it.

### [tmsh](<https://news.ycombinator.com/item?id=50080801>)

> I agree https://github.com/dmmulroy/anti-slop is very cool (heard about it via https://www.youtube.com/watch?v=ix1qQK1IvmA).
>
> But what does this add beyond that?

### [navs](<https://news.ycombinator.com/item?id=50079258>)

> oxlint and some general ast-grep rules have pretty much been an absolute necessity for any of my LLM based code generation. I started down this path after looking at what coderabbit suggested in https://github.com/coderabbitai/ast-grep-essentials

---

## Cite

- Page: https://zeli.app/story/50075809
- Date: 2026-10-13
- Source: github.com (https://github.com/maharshi365/deslop)
- Hacker News: https://news.ycombinator.com/item?id=50075809

## Other languages

- zh: https://zeli.app/zh/story/50075809 · markdown: https://zeli.app/zh/story/50075809.md
- ja: https://zeli.app/ja/story/50075809 · markdown: https://zeli.app/ja/story/50075809.md
- ko: https://zeli.app/ko/story/50075809 · markdown: https://zeli.app/ko/story/50075809.md
- de: https://zeli.app/de/story/50075809 · markdown: https://zeli.app/de/story/50075809.md
- es: https://zeli.app/es/story/50075809 · markdown: https://zeli.app/es/story/50075809.md
- ru: https://zeli.app/ru/story/50075809 · markdown: https://zeli.app/ru/story/50075809.md
