eslint-plugin-fsd-check-path

0.0.2 • Public • Published

eslint-plugin-fsd-check-path

Plugin for production project based on Feature-Sliced Design (FSD) architectural methodology.

Installation

You'll first need to install ESLint:

npm i eslint --save-dev

Next, install eslint-plugin-fsd-check-path:

npm install eslint-plugin-fsd-check-path --save-dev

Usage

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

{
    "plugins": [
        "fsd-check-path"
    ]
}

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

{
    "rules": {
        "fsd-check-path/rule-name": 2
    }
}

Rules

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

Package Sidebar

Install

npm i eslint-plugin-fsd-check-path

Weekly Downloads

1

Version

0.0.2

License

ISC

Unpacked Size

7.01 kB

Total Files

7

Last publish

Collaborators

  • romanshem