eslint-plugin-fsd-checked-paths-plugin

0.0.3 • Public • Published

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.

Package Sidebar

Install

npm i eslint-plugin-fsd-checked-paths-plugin

Weekly Downloads

1

Version

0.0.3

License

ISC

Unpacked Size

8.61 kB

Total Files

10

Last publish

Collaborators

  • n1kak