·eslint-plugin
</>

eslint-plugin

third774/dotfiles

通过测试驱动开发编写自定义 ESLint 插件和规则。支持平面配置 (ESLint 9+) 和旧格式。使用 @typescript-eslint/rule-tester 进行测试。涵盖问题、建议和布局规则,包括自动修复程序和类型感知规则。在创建或修改 ESLint 规则、插件、自定义 linting 逻辑或创作自动修复程序时使用。

4安装·1热度·@third774

安装

$npx skills add https://github.com/third774/dotfiles --skill eslint-plugin

SKILL.md

Write custom ESLint rules using TDD. This skill covers rule creation, testing, and plugin packaging.

| Identifiers | Variables, functions, classes, or all? Destructured? Renamed imports? | | Imports | Re-exports? Dynamic imports? Type-only? Side-effect imports? | | Functions | Arrow vs declaration? Methods vs standalone? Async? Generators? | | JSX | JSX and createElement? Fragments? Self-closing? Spread props? |

| TypeScript | Require type info? Handle any? Generics? Type assertions? |

通过测试驱动开发编写自定义 ESLint 插件和规则。支持平面配置 (ESLint 9+) 和旧格式。使用 @typescript-eslint/rule-tester 进行测试。涵盖问题、建议和布局规则,包括自动修复程序和类型感知规则。在创建或修改 ESLint 规则、插件、自定义 linting 逻辑或创作自动修复程序时使用。 来源:third774/dotfiles。

查看原文

可引用信息

为搜索与 AI 引用准备的稳定字段与命令。

安装命令
npx skills add https://github.com/third774/dotfiles --skill eslint-plugin
分类
</>开发工具
认证
收录时间
2026-02-01
更新时间
2026-02-18

快速解答

什么是 eslint-plugin?

通过测试驱动开发编写自定义 ESLint 插件和规则。支持平面配置 (ESLint 9+) 和旧格式。使用 @typescript-eslint/rule-tester 进行测试。涵盖问题、建议和布局规则,包括自动修复程序和类型感知规则。在创建或修改 ESLint 规则、插件、自定义 linting 逻辑或创作自动修复程序时使用。 来源:third774/dotfiles。

如何安装 eslint-plugin?

打开你的终端或命令行工具(如 Terminal、iTerm、Windows Terminal 等) 复制并运行以下命令:npx skills add https://github.com/third774/dotfiles --skill eslint-plugin 安装完成后,技能将自动配置到你的 AI 编程环境中,可以在 Claude Code 或 Cursor 中使用

这个 Skill 的源码在哪?

https://github.com/third774/dotfiles