{"library":"eslint-rule-composer","type":"library","category":null,"description":"ESLint Rule Composer is a utility library designed to facilitate the creation and modification of ESLint rules by composing them from existing ones. Currently at version 0.3.0, it allows developers to `filterReports`, `mapReports`, or `joinReports` from one or more base rules, enabling highly customized linting behavior without needing to rewrite entire rule definitions. This approach is particularly useful for adding exceptions to existing rules (e.g., ignoring specific patterns in `no-unused-expressions`) or combining the logic of multiple rules. Its primary differentiator is the programmatic manipulation of reported problems and rule definitions, offering a flexible layer over ESLint's core rule API. Given its 0.x.y version, API stability might still be evolving, and its release cadence is likely slow or on-demand, as the last update on NPM was in April 2018.","language":"javascript","status":"maintenance","version":"0.3.0","tags":["javascript","eslint"],"last_verified":"Wed May 27","install":[{"cmd":"npm install eslint-rule-composer","imports":["const ruleComposer = require('eslint-rule-composer');","const { Linter } = require('eslint');"]},{"cmd":"yarn add eslint-rule-composer","imports":[]},{"cmd":"pnpm add eslint-rule-composer","imports":[]}],"homepage":null,"github":"https://github.com/not-an-aardvark/eslint-rule-composer","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/eslint-rule-composer","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":{"summary":{"python_range":"18–22","success_rate":0,"avg_install_s":null,"avg_import_s":null,"wheel_type":null},"url":"https://checklist.day/v1/registry/eslint-rule-composer/compatibility"}}