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

Versions

Current Tags

VersionDownloads (Last 7 Days)Tag
0.0.05,945latest

Version History

VersionDownloads (Last 7 Days)Published
0.0.05,945

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