npm.io
2.1.6 • Published 3 weeks agoCLI

@rightcapital/lint-eslint-config-rules

Licence
MIT
Version
2.1.6
Deps
2
Size
26 kB
Vulns
0
Weekly
0
Stars
14

@rightcapital/lint-eslint-config-rules

npm version

A CLI tool that checks your ESLint configuration for deprecated and unknown rules.

Prerequisites

  • eslint (9.x or 10.x)

Usage

npx @rightcapital/lint-eslint-config-rules

Options

Option Description
-h, --help Display help message
--cwd <path> The directory to lint (default: cwd)
--json Output all information in JSON format
--version Display version number

Example output

Checking ESLint rules in /path/to/project
Discovered 250/500 used/available rules
No used deprecated rules found
No used unknown rules found

The process exits with code 1 if any deprecated or unknown rules are found, making it suitable for CI pipelines.

License

MIT License 2023-Present