0.0.1 • Published 2 years ago

eslint-plugin-paths-validation v0.0.1

Weekly downloads
-
License
ISC
Repository
-
Last release
2 years ago

eslint-plugin-paths-validation

ESLint plugin for feature-sliced absolute and relative paths validation

Installation

You'll first need to install ESLint:

npm i eslint --save-dev

Next, install eslint-plugin-paths-validation:

npm install eslint-plugin-paths-validation --save-dev

Usage

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

{
    "plugins": [
        "paths-validation"
    ]
}

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

{
    "rules": {
        "paths-validation/rule-name": 2
    }
}

Rules

TODO: Run eslint-doc-generator to generate the rules list.

0.0.1

2 years ago

0.0.0

2 years ago