@r0mm4k/eslint-plugin-fsd

0.1.0 • Public • Published

eslint-plugin-fsd

FSD (Feature Sliced Design) specific linting rules for ESLint

Installation

You'll first need to install ESLint:

npm i eslint --save-dev

Next, install eslint-plugin-fsd:

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

Usage

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

{
    "plugins": [
        "fsd"
    ]
}

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

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

Rules

Name

Package Sidebar

Install

npm i @r0mm4k/eslint-plugin-fsd

Weekly Downloads

0

Version

0.1.0

License

ISC

Unpacked Size

5.4 kB

Total Files

7

Last publish

Collaborators

  • r0mm4k