eslint-plugin-paths-validation

0.0.1 • Public • Published

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.

Package Sidebar

Install

npm i eslint-plugin-paths-validation

Weekly Downloads

1

Version

0.0.1

License

ISC

Unpacked Size

7.09 kB

Total Files

10

Last publish

Collaborators

  • vitaliy_d