eslint-plugin-bhargavmungara

1.0.4 • Public • Published

eslint-plugin-bhargavmungara

Custom rules for Bhargav

Installation

This module is distributed via npm which is bundled with node and should be installed as one of your project's devDependencies:

You'll first need to install ESLint:

npm i eslint --save-dev

Next, install eslint-plugin-bhargavmungara:

npm install eslint-plugin-bhargavmungara --save-dev

Usage

Add bhargavmungara to the plugins section of your .eslintrc configuration file. You can omit the eslint-plugin- prefix:

{
  "plugins": ["bhargavmungara"]
}

Then configure the rules you want to use under the rules section.

{
  "rules": {
    "bhargavmungara/rule-name": 2
  }
}

Rules

In the rules, change the rule-name to check-function-was-called

{
  "rules": {
    "bhargavmungara/check-function-was-called": 2
  }
}

Docs

🐛 Bugs

Please file an issue for bugs, missing documentation, or unexpected behavior.

Package Sidebar

Install

npm i eslint-plugin-bhargavmungara

Weekly Downloads

0

Version

1.0.4

License

MIT

Unpacked Size

7.6 kB

Total Files

7

Last publish

Collaborators

  • bhargavmungara