ESLint Rule Composer

Creates custom ESLint rules using the ESLint RuleTester API and AST Explorer patterns, generating rule implementations with auto-fix suggestions based on estree node types and scope analysis.

agentskillexchange d783468 1.3 KB Updated 28 repo stars

File contents

ESLint Rule Composer

Creates custom ESLint rules using the ESLint RuleTester API and AST Explorer patterns. Generates rule implementations with auto-fix suggestions based on estree node types and scope analysis.

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-composer commit d783468847

Frequently asked questions

npx skillmds add agentskillexchange/eslint-rule-composer