0.0.17 • Published 6 months ago

eslint-plugin-babun4ek-fsd-plugin v0.0.17

Weekly downloads
-
License
ISC
Repository
github
Last release
6 months ago

eslint-plugin-babun4ek-fsd-plugin

This is an eslint-plugin to check for paths paths according to the methodology FSD.

Installation

You'll first need to install ESLint:

npm i eslint --save-dev

Next, install eslint-plugin-babun4ek-fsd-plugin:

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

Usage

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

{
    "plugins": [
        "babun4ek-fsd-plugin"
    ]
}

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

{
    "rules": {
        "babun4ek-fsd-plugin/path-checker": "error"
    }
}

Rules

NameDescription
layer-imports-checkerFSD layers-imports checker
path-checkerfeature-sliced design relative path checker
public-api-importsFSD public-api-imports checker
0.0.17

6 months ago

0.0.16

2 years ago

0.0.10

2 years ago

0.0.11

2 years ago

0.0.12

2 years ago

0.0.13

2 years ago

0.0.14

2 years ago

0.0.3

2 years ago

0.0.2

2 years ago

0.0.15

2 years ago

0.0.9

2 years ago

0.0.8

2 years ago

0.0.5

2 years ago

0.0.4

2 years ago

0.0.7

2 years ago

0.0.6

2 years ago

0.0.1

2 years ago

0.0.0

2 years ago