# Show HN：Deslop——针对 AI 生成 TypeScript 的 Oxlint 规则

- 原标题：Show HN: Deslop – Oxlint rules for AI-generated TypeScript
- 类型：项目
- 来源：GitHub
- 发布时间：2026-09-13
- 首次精选：2026-10-26 16:27
- 分级：值得看
- 原文链接：[https://github.com/maharshi365/deslop](<https://github.com/maharshi365/deslop>)
- 本站页面：[https://oplearnx.com/resources/pk\_f9b6ce9df6e9](<https://oplearnx.com/resources/pk_f9b6ce9df6e9>)

## 摘要

这是一个开源项目（npm 包名 ai-deslop），提供一组带倾向性的 Oxlint 规则，用于拒绝所谓低证据、低信号的 AI 生成代码模式，如不安全类型断言、重复代码和低价值测试。规则位于 deslop/\* 命名空间，随推荐配置默认启用部分规则，面向使用 oxlint 的 TypeScript 开发者。

## 热度

- 档位：有热度
- 7 天新增 star：+1
- 30 天新增 star：+66
- Hacker News：[32 分 · 8 条评论](<https://news.ycombinator.com/item?id=50075809>)
- 社区讨论：1 帖

## 项目信息

- 语言：TypeScript
- 许可：未声明
- 最近提交：2026-10-22
- Star：72
- Fork：0

## 上手方式

```bash
npm install --save-dev ai-deslop
# @oxlint/plugins comes along as a runtime dependency — keep it in sync with your oxlint version
```

摘自 [README](<https://github.com/maharshi365/deslop/blob/master/README.md>)

---
来源：LearnMap · 学径（https://oplearnx.com）
