0.2.2 • Published 1 year ago

eslint-plugin-fsd-path-checker-plugin v0.2.2

Weekly downloads
-
License
ISC
Repository
-
Last release
1 year ago

eslint-plugin-path-checker-plugin

Plugin which checks correctness of imports as per Feature Sliced Design

Installation

You'll first need to install ESLint:

npm i eslint --save-dev

Next, install eslint-plugin-path-checker-plugin:

npm install eslint-plugin-path-checker-plugin --save-dev

Usage

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

{
    "plugins": [
        "path-checker-plugin"
    ]
}

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

{
    "rules": {
        "path-checker-plugin/rule-name": 2
    }
}

Rules

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

0.2.2

1 year ago

0.2.1

1 year ago

0.2.0

1 year ago

0.1.1

1 year ago

0.1.0

1 year ago

0.0.5

1 year ago

0.0.4

1 year ago

0.0.3

1 year ago

0.0.2

1 year ago

0.0.1

1 year ago

0.0.0

1 year ago