0.2.0 • Published 8 months ago

eslint-plugin-fsd-import-path-checker v0.2.0

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

eslint-plugin-fsd-import-checker

plugin for checking import paths inside Feature Sliced Design Frontend project

Installation

You'll first need to install ESLint:

npm i eslint --save-dev

Next, install eslint-plugin-fsd-import-checker:

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

Usage

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

{
    "plugins": [
        "fsd-import-path-checker"
    ]
}

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

{
    "rules": {
        "fsd-import-path-checker/path-checker": 2
    }
}

Rules

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

0.2.0

8 months ago

0.1.1

8 months ago

0.1.0

8 months ago

0.0.2

8 months ago

0.0.1

8 months ago