@parcellab/eslint-plugin-no-require-assign
v0.0.3
Published
Disallow assigning to required bindings
Downloads
59
Readme
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 eslint-plugin-no-require-assign
:
npm install eslint-plugin-no-require-assign --save-dev
Usage
Add no-require-assign
to the plugins section of your .eslintrc
configuration file. You can omit the eslint-plugin-
prefix:
{
"plugins": ["no-require-assign"]
}
Then configure the rules you want to use under the rules section.
{
"rules": {
"no-require-assign/rule-name": 2
}
}
Supported Rules
- Fill in provided rules here