Skip to content

parcelLab/eslint-plugin-no-require-assign

Repository files navigation

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