ESLint Rule Analyzer

Analyzes ESLint configurations using the ESLint Node.js API and flat config system to detect rule conflicts, unused rules, and generate project-specific rule recommendations from eslint-plugin-unicorn and typescript-eslint.

agentskillexchange Updated 28 repo stars

File contents

ESLint Rule Analyzer

Analyzes ESLint configurations using the ESLint Node.js API (new ESLint().calculateConfigForFile) and flat config system. Detects rule conflicts, unused rules, and generates project-specific rule recommendations from eslint-plugin-unicorn and typescript-eslint.

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 >=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:

Source

agentskillexchange/skills/tree/main/skills/eslint-rule-analyzer commit 5b94aa8b66

Frequently asked questions

npx skillmds@latest add agentskillexchange/eslint-rule-analyzer