Skip to content

Getting Started

npm versionDownloads/monthBuild StatusCoverage Status

🏁 Goal

@eslint-community/eslint-utils package provides utility functions and classes for make ESLint custom rules.

💿 Installation

Use npm or a compatible tool to install.

sh
npm install @eslint-community/eslint-utils

Requirements

@eslint-community/eslint-utils requires Node.js ^12.22.0 || ^14.17.0 || >=16.0.0.

📖 Usage

js
const utils = require("@eslint-community/eslint-utils")

// use it to define rules...