eslint-plugin-fsd-path-checker-plugin

0.2.2 • Public • Published

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.

Package Sidebar

Install

npm i eslint-plugin-fsd-path-checker-plugin

Weekly Downloads

0

Version

0.2.2

License

ISC

Unpacked Size

22 kB

Total Files

14

Last publish

Collaborators

  • mgorbadey