eslint-plugin-fsd-architecture-check

0.0.12 • Public • Published

eslint-plugin-fsd-architecture-check

Eslint plugin for FSD architecture

Installation

You'll first need to install ESLint:

npm i eslint --save-dev

Next, install eslint-plugin-fsd-architecture-check:

npm install eslint-plugin-fsd-architecture-check --save-dev

Usage

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

{
    "plugins": [
        "fsd-architecture-check"
    ]
}

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

{
    "rules": {
        "fsd-architecture-check/rule-name": 2
    }
}

Rules

Name Description
layer-imports Description
path-check FSD path checker
public-api-imports Description

/eslint-plugin-fsd-architecture-check/

    Package Sidebar

    Install

    npm i eslint-plugin-fsd-architecture-check

    Weekly Downloads

    7

    Version

    0.0.12

    License

    ISC

    Unpacked Size

    20.8 kB

    Total Files

    24

    Last publish

    Collaborators

    • germansdev