eslint-plugin-no-restricted-imports
v0.0.0
Published
no-restricted-imports
Maintainers
Readme
eslint-plugin-no-restricted-imports
no-restricted-imports
Installation
You'll first need to install ESLint:
$ npm i eslint --save-devNext, install eslint-plugin-no-restricted-imports:
$ npm install eslint-plugin-no-restricted-imports --save-devUsage
Add no-restricted-imports to the plugins section of your .eslintrc configuration file. You can omit the eslint-plugin- prefix:
{
"plugins": [
"no-restricted-imports"
]
}Then configure the rules you want to use under the rules section.
{
"rules": {
"no-restricted-imports/rule-name": 2
}
}Supported Rules
- Fill in provided rules here
