---
name: php186-skill-77447
description: "使用eslint-plugin-unicorn和@typescript-eslint/parser在单体仓库中自动化ESLint v9平面配置强制执行。通过git diff扫描更改的文件，应用可自动修复的规则，并为每个包生成带有违规严重性细分的lint报告。"
---

# ESLint 规则执行器

## ESLint 规则执行器

 

Automates ESLint v9 flat config enforcement across monorepos using eslint-plugin-unicorn and @typescript-eslint/parser. Scans changed files via git diff, applies auto-fixable rules, and generates per-package lint reports with violation severity breakdowns.

 

## Installation

 

Use the upstream install or setup path that matches your environment:

 

- npm init @eslint/config@latest
- npx eslint yourfile.js

 

Requirements and caveats from upstream:

 

- To use ESLint, you must have Node.js (^20.19.0, ^22.13.0, or &gt;=24) installed and built with SSL support. (If you are using an official Node.js distribution, SSL is always built in.)
- node-linker=hoisted
- ### Which Node.js versions does ESLint support?

 

Basic usage or getting-started notes:

 

- Installation and Usage
- If you use ESLint's TypeScript type definitions, TypeScript 5.3 or later is required.
- ### npm Installation
- Source: https://github.com/1991513ccie-png/skills
- Extracted from upstream docs: https://raw.githubusercontent.com/eslint/eslint/HEAD/README.md
