# @eslint-community/eslint-plugin-eslint-comments

> Additional ESLint rules for ESLint directive comments.

Latest version **4.8.1** (published 2026-09-12) · MIT license · 0 weekly downloads

## Install

```sh
npm install @eslint-community/eslint-plugin-eslint-comments
pnpm add @eslint-community/eslint-plugin-eslint-comments
yarn add @eslint-community/eslint-plugin-eslint-comments
bun add @eslint-community/eslint-plugin-eslint-comments
```

## Health

**Score 75/100 (B)** — status: active.

Positive: has types; esm support; no vulnerabilities; has provenance; recently updated; high maintenance score; high quality score.

Warnings: low downloads.

## Facts

| | |
|---|---|
| Version | 4.8.1 |
| Published | 2026-09-12 |
| First published | 2023-01-30 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | ESM + CommonJS |
| Node | ^12.22.0 \|\| ^14.17.0 \|\| >=16.0.0 |
| Dependencies | 2 |
| Unpacked size | 56.2 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Provenance | attested (GitHub Actions) |
| GitHub stars | 99 |
| Author | Toru Nagashima |
| Maintainers | eslint-community-bot, michaeldeboey |
| Keywords | eslint, eslintplugin, eslint-plugin, plugin, comment, comments, directive, global, globals, exported, eslint-env, eslint-enable, eslint-disable, eslint-disable-line, eslint-disable-next-line |

## Links

- npm: https://www.npmjs.com/package/@eslint-community/eslint-plugin-eslint-comments
- Repository: https://github.com/eslint-community/eslint-plugin-eslint-comments
- Homepage: https://github.com/eslint-community/eslint-plugin-eslint-comments#readme
- Issues: https://github.com/eslint-community/eslint-plugin-eslint-comments/issues
- Funding: https://opencollective.com/eslint
- npm.io page: https://npm.io/package/@eslint-community/eslint-plugin-eslint-comments

## Dependencies (2)

- [ignore](https://npm.io/package/ignore.md) ^7.0.5
- [escape-string-regexp](https://npm.io/package/escape-string-regexp.md) ^4.0.0

## Alternatives

- [eslint-plugin-sonarjs](https://npm.io/package/eslint-plugin-sonarjs.md) — 2.9M weekly downloads
- [eslint-config-expo](https://npm.io/package/eslint-config-expo.md) — 1.5M weekly downloads
- [@matter/protocol](https://npm.io/package/@matter/protocol.md) — 63.5K weekly downloads
- [@eventcatalog/linter](https://npm.io/package/@eventcatalog/linter.md) — 24.8K weekly downloads
- [@inrupt/eslint-config-base](https://npm.io/package/@inrupt/eslint-config-base.md) — 4.5K weekly downloads

## Recent versions

- 4.8.1 (latest) — 2026-09-12
- 5.0.0-alpha.1 (alpha) — 2026-01-11
- 4.0.0-beta.1 (beta) — 2023-07-29
- 4.8.0 — 2026-09-07
- 4.7.2 — 2026-05-26
- 4.7.1 — 2026-03-02
- 4.7.0 — 2026-03-01
- 4.6.0 — 2026-01-14
- 4.5.0 — 2025-04-12
- 4.4.1 — 2024-10-25
- 4.4.0 — 2024-08-15
- 4.3.0 — 2024-04-08
- 4.2.0 — 2024-04-07
- 4.1.0 — 2023-07-31
- 4.0.0 — 2023-07-29
- … 4 more at https://npm.io/package/@eslint-community/eslint-plugin-eslint-comments/versions

## README

# @eslint-community/eslint-plugin-eslint-comments

[![npm version](https://img.shields.io/npm/v/@eslint-community/eslint-plugin-eslint-comments.svg)](https://www.npmjs.com/package/@eslint-community/eslint-plugin-eslint-comments)
[![Downloads/month](https://img.shields.io/npm/dm/@eslint-community/eslint-plugin-eslint-comments.svg)](http://www.npmtrends.com/@eslint-community/eslint-plugin-eslint-comments)
[![Build Status](https://github.com/eslint-community/eslint-plugin-eslint-comments/workflows/CI/badge.svg)](https://github.com/eslint-community/eslint-plugin-eslint-comments/actions)
[![codecov](https://codecov.io/gh/eslint-community/eslint-plugin-eslint-comments/branch/main/graph/badge.svg)](https://codecov.io/gh/eslint-community/eslint-plugin-eslint-comments)

Additional ESLint rules for ESLint directive comments (e.g. `//eslint-disable-line`).

## 📖 Usage

-   [Documentation](https://eslint-community.github.io/eslint-plugin-eslint-comments)

## 🚥 Semantic Versioning Policy

`@eslint-community/eslint-plugin-eslint-comments` follows [semantic versioning](http://semver.org/) and [ESLint's Semantic Versioning Policy](https://github.com/eslint/eslint#semantic-versioning-policy).

## 📰 Changelog

-   [GitHub Releases](https://github.com/eslint-community/eslint-plugin-eslint-comments/releases)

## 🍻 Contributing

Welcome contributing!

Please use GitHub's Issues/PRs.

### Development Tools

-   `npm test` runs tests and measures coverage.
-   `npm run build` updates `README.md`, `index.js`, and the header of all rule's documents.
-   `npm run clean` removes the coverage of the last `npm test` command.
-   `npm run coverage` shows the coverage of the last `npm test` command.
-   `npm run lint` runs ESLint for this codebase.
-   `npm run watch` runs tests and measures coverage when source code are changed.

---
_Source: https://npm.io/package/@eslint-community/eslint-plugin-eslint-comments · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
