0.0.1 • Published 11 months ago

@twofortyfive/eslint-plugin v0.0.1

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

@twofortyfive/eslint-plugin

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 @twofortyfive/eslint-plugin:

npm install @twofortyfive/eslint-plugin --save-dev

Usage

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

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

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

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

Rules

NameDescription
no-restricted-importsForbid import of given packages into given paths
0.0.1

11 months ago