Skip to content
This repository was archived by the owner on Mar 25, 2025. It is now read-only.

sebastian-software/eslint-get-rules

Repository files navigation

ESLint GetRules

Sponsored by Version
Downloads Node.js CI

ESLint GetRules is a quick wrapper around core ESLint classes to access detailed rule information via API. Unfortunetely such an API is not (yet) available in ESLint itself.

Installation

NPM

$ npm install eslint-get-rules

Yarn

$ yarn add eslint-get-rules

Usage

  • getRawRules(options) => Map<string, Rule>
  • getFixableRules(options) => Set<string>

License

Apache License; Version 2.0, January 2004

Copyright

Logo of Sebastian Software GmbH, Mainz, Germany

Copyright 2022
Sebastian Software GmbH

About

Offers various methods to access ESLint rules available to the project where it is installed into.

Resources

License

Stars

Watchers

Forks

Packages

No packages published