Skip to content

Latest commit

 

History

History
47 lines (31 loc) · 911 Bytes

README.md

File metadata and controls

47 lines (31 loc) · 911 Bytes

eslint-plugin-no-require-assign

Disallow assigning to required bindings

Original author @weiliddat @parcellab/eslint-config#51

Installation

You'll first need to install ESLint:

npm i eslint --save-dev

Next, install @parcellab/eslint-plugin-no-require-assign:

npm install @parcellab/eslint-plugin-no-require-assign --save-dev

Usage

Add @parcellab/eslint-plugin-no-require-assign to the plugins section of your .eslintrc configuration file:

{
  "plugins": ["@parcellab/eslint-plugin-no-require-assign"]
}

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

{
  "rules": {
    "@parcellab/eslint-plugin-no-require-assign/rule-name": 2
  }
}

Supported Rules

  • Fill in provided rules here

Contributing

Contribution guidelines