0.0.9 • Published 12 months ago

eslint-plugin-fsd-inspector v0.0.9

Weekly downloads
-
License
ISC
Repository
-
Last release
12 months ago

eslint-plugin-fsd-inspector

Eslint plugin for checking FSD rules

Installation

You'll first need to install ESLint:

npm i eslint --save-dev

Next, install eslint-plugin-fsd-inspector:

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

Usage

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

{
    "plugins": [
        "fsd-inspector"
    ]
}

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

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

Rules

NameDescription
module-relative-pathCheck relative paths inside a module according FSD
public-api-importsChecks the imports from the public api outside module
0.0.3

12 months ago

0.0.2

12 months ago

0.0.9

12 months ago

0.0.8

12 months ago

0.0.5

12 months ago

0.0.4

12 months ago

0.0.7

12 months ago

0.0.6

12 months ago

0.0.1

1 year ago

0.0.0

1 year ago