ESLint Auto-Fixer by agentskillexchange/skills
npx skills add https://github.com/agentskillexchange/skills --skill 'ESLint Auto-Fixer'使用支持扁平配置的 ESLint Node.js API 自动应用 ESLint 修复。处理 TypeScript-ESLint 和 eslint-plugin-react 之间的规则冲突。以 SARIF 格式生成修复报告。
ESLint 自动修复技能利用 ESLint Node.js API 以编程方式检查和修复 JavaScript 和 TypeScript 文件。它支持新的扁平配置格式(eslint.config.js)和传统的 .eslintrc 配置。
该技能加载项目特定的 ESLint 配置,包括 typescript-eslint、eslint-plugin-react、eslint-plugin-import 和 eslint-plugin-prettier 等插件。它使用 ESLint API 中的修复选项应用自动修复,跟踪哪些规则被应用以及哪些需要手动干预。
输出支持多种格式,包括时尚的控制台输出、JSON 和 SARIF(静态分析结果交换格式),以便与 GitHub 代码扫描集成。该技能处理具有每个包独立配置的 monorepo 配置。它支持通过命令参数自定义规则覆盖,并可以在干运行模式下操作以在应用更改前预览更改。特别适用于在大型代码库中强制执行一致的代码风格。
npx skills add agentskillexchange/skills --skill eslint-auto-fixer
npx skills add agentskillexchange/skills --skill eslint-auto-fixer -a claude-code
npx skills add agentskillexchange/skills --skill eslint-auto-fixer -a cursor
npx skills add agentskillexchange/skills --skill eslint-auto-fixer -a codex
广告位招租
在这里展示您的产品或服务
触达数万 AI 开发者,精准高效
clawhub install eslint-auto-fixer
每周安装次数
–
代码仓库
GitHub 星标数
1
首次出现时间
–
安全审计
Applies ESLint fixes automatically using the ESLint Node.js API with flat config support. Handles rule conflicts across TypeScript-ESLint and eslint-plugin-react. Generates fix reports in SARIF format.
The ESLint Auto-Fixer skill leverages the ESLint Node.js API to programmatically lint and fix JavaScript and TypeScript files. It supports the new flat config format (eslint.config.js) and legacy .eslintrc configurations.
The skill loads project-specific ESLint configurations, including plugins like typescript-eslint, eslint-plugin-react, eslint-plugin-import, and eslint-plugin-prettier. It applies automatic fixes using the fix option in the ESLint API, tracking which rules were applied and which required manual intervention.
Output is available in multiple formats including stylish console output, JSON, and SARIF (Static Analysis Results Interchange Format) for integration with GitHub Code Scanning. The skill handles monorepo configurations with separate configs per package. It supports custom rule overrides via command parameters and can operate in dry-run mode to preview changes before applying them. Particularly useful for enforcing consistent code style across large codebases.
npx skills add agentskillexchange/skills --skill eslint-auto-fixer
npx skills add agentskillexchange/skills --skill eslint-auto-fixer -a claude-code
npx skills add agentskillexchange/skills --skill eslint-auto-fixer -a cursor
npx skills add agentskillexchange/skills --skill eslint-auto-fixer -a codex
clawhub install eslint-auto-fixer
Weekly Installs
–
Repository
GitHub Stars
1
First Seen
–
Security Audits
Skills CLI 使用指南:AI Agent 技能包管理器安装与管理教程
29,800 周安装