# Deslop - AI生成TypeScriptの低品質コードを排除するOxlintルール

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

> Hacker News story 50075809 · language: ja · submitted 2026-10-13
> Web version: https://zeli.app/ja/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は、AIが生成しがちな低品質なTypeScriptコードパターンを検出・排除するために設計された、意見の強いOxlintルールセットです。型安全性を損なうチェーン型アサーションやunknown型の乱用、テストの質を下げるモック依存、非効率な配列操作など、AIスロップと呼ばれるコードの匂いを的確に指摘します。npmでインストールし、Oxlintの設定に組み込むだけで、Bun、Deno、Node.js環境で動作します。AIコーディング時代のコード品質を維持したい開発者に最適なツールです。

## Key quote

> AIが生成したコードの「なんとなく動くけど質が低い」を、ルールで機械的に排除する。

## HN discussion (7 comments)

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

> 最近、AI支援による機能開発へと大きく舵を切ったプロジェクトで働いているんだけど、極端に防御的でアグレッシブなlint設定と80%近いテストカバレッジなしには、こうした開発のほとんどはまず不可能だろうね。
>
> `no-reflect-get`は間違いなく採用したいルールの一つだよ、claudeはなぜか`Reflect.get`が大好きだからね。
>
> このリポジトリにあるlintルールの多くは https://github.com/sindresorhus/eslint-plugin-unicorn を思い出させるよ。oxlintがプラグインをサポートしたら、そっちに移行したいんだけど待ちきれないね。

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

> 同感、https://github.com/dmmulroy/anti-slop はすごくクールだよ（https://www.youtube.com/watch?v=ix1qQK1IvmA 経由で知った）。
>
> でも、これにはあれを超える何かがあるの？

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

> oxlintといくつかの一般的なast-grepルールは、自分のLLMベースのコード生成にとってほぼ絶対に必要なものになっているよ。この道に踏み出したのは、https://github.com/coderabbitai/ast-grep-essentials でcoderabbitが提案していた内容を見たのがきっかけだった。

---

## Cite

- Page: https://zeli.app/ja/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

- en: https://zeli.app/story/50075809 · markdown: https://zeli.app/story/50075809.md
- zh: https://zeli.app/zh/story/50075809 · markdown: https://zeli.app/zh/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
