0.0.8 • Published 6 months ago

eslint-plugin-fsd-layer-import v0.0.8

Weekly downloads
-
License
MIT
Repository
-
Last release
6 months ago

eslint-plugin-fsd-layer-import

import rule for fsd architecture

Installation

You'll first need to install ESLint:

npm i eslint --save-dev

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

npm install eslint-plugin-fsd-layer-import --save-dev

Usage

In your configuration file, import the plugin eslint-plugin-fsd-layer-import and add fsd-layer-import to the plugins key:

import fsd-layer-import from "eslint-plugin-fsd-layer-import";

export default [
    {
        plugins: {
            fsd-layer-import
        }
    }
];

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

import fsd-layer-import from "eslint-plugin-fsd-layer-import";

export default [
    {
        plugins: {
            fsd-layer-import
        },
        rules: {
            "fsd-layer-import/rule-name": "warn"
        }
    }
];

Configurations

TODO: Run eslint-doc-generator to generate the configs list (or delete this section if no configs are offered).

Rules

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

0.0.3

7 months ago

0.0.8

6 months ago

0.0.5

7 months ago

0.0.4

7 months ago

0.0.7

6 months ago

0.0.6

6 months ago

0.0.2

7 months ago

0.0.1

7 months ago

0.0.0

7 months ago