eslint-plugin-feature-slice-import-manager

0.2.2 • Public • Published

eslint-plugin-feature-slice-import-manager

This ESLint plugin enforces best practices and consistent import ordering specific to the feature-sliced design architecture. It ensures that imports are structured and layered according to the feature-sliced methodology, promoting clean code separation and modular architecture. Ideal for projects seeking to maintain a scalable and organized codebase.

Installation

You'll first need to install ESLint:

npm i eslint --save-dev

Next, install eslint-plugin-feature-slice-import-manager:

npm install eslint-plugin-feature-slice-import-manager --save-dev

Usage

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

{
    "plugins": [
        "feature-slice-import-manager"
    ]
}

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

{
    "rules": {
        "feature-slice-import-manager/rule-name": 2
    }
}

Rules

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

Package Sidebar

Install

npm i eslint-plugin-feature-slice-import-manager

Weekly Downloads

1

Version

0.2.2

License

ISC

Unpacked Size

22.7 kB

Total Files

13

Last publish

Collaborators

  • davit.g