# ESLint Rule Enforcer

> Enforces ESLint v9 flat config rules across monorepos by scanning changed files via git diff, applying auto-fixable rules, and generating per-package lint reports with severity breakdowns.

- Skill: `agentskillexchange/eslint-rule-enforcer` (Agent Skill)
- Install (CLI): `npx skillmds add agentskillexchange/eslint-rule-enforcer`
- Raw SKILL.md: https://api.skillmd.com/api/skills/agentskillexchange/eslint-rule-enforcer/raw
- Safety review: PASS (external: skill-scanner PASS, skillspector PASS)
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Coding & Dev Tools, Dev Tooling
- Tags: Eslint, Flat Config, Git Diff, Linting, Monorepo, Typescript, Unicorn
- Author: agentskillexchange (https://skillmd.com/u/agentskillexchange)
- Updated: 2026-08-22
- Page: https://skillmd.com/skills/agentskillexchange/eslint-rule-enforcer

---


# ESLint Rule Enforcer

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](https://nodejs.org/) (^20.19.0, ^22.13.0, or >=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](#installation-and-usage)
- If you use ESLint's TypeScript type definitions, TypeScript 5.3 or later is required.
- ### npm Installation

- Source: https://github.com/eslint/eslint
- Extracted from upstream docs: https://raw.githubusercontent.com/eslint/eslint/HEAD/README.md

## Source

- [Agent Skill Exchange](https://agentskillexchange.com/skills/eslint-rule-enforcer/)

