eslint-plugin-no-restricted-imports

0.0.0 • Public • Published

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

Package Sidebar

Install

npm i eslint-plugin-no-restricted-imports

Weekly Downloads

5,886

Version

0.0.0

License

ISC

Unpacked Size

4.78 kB

Total Files

6

Last publish

Collaborators

  • dokyung.choi