eslint-plugin-no-restricted-imports

v0.0.0
no-restricted-imports
eslint eslintplugin eslint-plugin

eslint-plugin-no-restricted-imports

no-restricted-imports

Installation

You'll first need to install ESLint:

$ npm i eslint --save-dev

Next, install eslint-plugin-no-restricted-imports:

$ npm install eslint-plugin-no-restricted-imports --save-dev

Usage

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
npm i eslint-plugin-no-restricted-imports

Metadata

  • ISC
  • >=0.10.0
  • dokyung.choi
  • released 7/28/2021

Downloads

Maintainers