0.0.2 • Published 11 months ago

eslint-plugin-mathieu-eveillard v0.0.2

Weekly downloads
-
License
ISC
Repository
-
Last release
11 months ago

eslint-plugin-mathieu-eveillard

Additional rules enforcing some architectural aspects as well as code style

Installation

You'll first need to install ESLint:

npm i eslint --save-dev

Next, install eslint-plugin-mathieu-eveillard:

npm install eslint-plugin-mathieu-eveillard --save-dev

Usage

Add eslint-mathieu-eveillard to the plugins section of your .eslintrc configuration file. You can omit the eslint-plugin- prefix:

{
    "plugins": [
        "eslint-mathieu-eveillard"
    ]
}

Then configure the rules you want to use under the rules section.

{
    "rules": {
        "eslint-mathieu-eveillard/rule-name": 2
    }
}

Rules

NameDescription
no-restricted-importsForbid given imports from given packages into given paths.
0.0.2

11 months ago

0.0.1

11 months ago