eslint-plugin-feature-sliced-design-path-checker

1.1.9 • Public • Published

eslint-plugin-feature-sliced-design-path-checker

ESLint plugin for imports in FSD architecture

Installation

You'll first need to install ESLint:

npm i eslint --save-dev

Next, install eslint-plugin-feature-sliced-design-path-checker:

npm install eslint-plugin-feature-sliced-design-path-checker --save-dev

Usage

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

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

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

{
    "rules": {
        "fsd-path-checker/rule-name": "error"
    }
}

Rules

Package Sidebar

Install

npm i eslint-plugin-feature-sliced-design-path-checker

Weekly Downloads

155

Version

1.1.9

License

ISC

Unpacked Size

20.6 kB

Total Files

14

Last publish

Collaborators

  • aizenka