0.0.3 • Published 6 months ago

eslint-plugin-fsd-checked-paths-plugin v0.0.3

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

eslint-plugin-fsd-checked-paths-plugin

plugin for check fsd architecture

Installation

You'll first need to install ESLint:

npm i eslint --save-dev

Next, install eslint-plugin-fsd-checked-paths-plugin:

npm install eslint-plugin-fsd-checked-paths-plugin --save-dev

First rule

{
    "rules": {
        "fsd-checked-paths-plugin/paths-checker": 2
    }
}

Usage

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

{
    "plugins": [
        "fsd-checked-paths-plugin"
    ]
}

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

{
    "rules": {
        "fsd-checked-paths-plugin/rule-name": 2
    }
}

Rules

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

0.0.3

6 months ago

0.0.2

6 months ago

0.0.1

10 months ago

0.0.0

10 months ago