0.0.21 • Published 11 months ago

eslint-plugin-fsd-architecture-checker v0.0.21

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

eslint-plugin-fsd-architecture-checker

checks import paths according to FSD architecture GitHub: https://github.com/viacheslavorlov/eslint-plugin-fsd-architecture-checker

Installation

You'll first need to install ESLint:

npm i eslint --save-dev

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

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

Usage

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

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

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

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

Rules

If you have trouble with opening this rules documentation visit GitHub: https://github.com/viacheslavorlov/eslint-plugin-fsd-architecture-checker

NameDescription
import-path-checkerchecks if modules imported according to FSD rules
public-api-importimports from other modules should be only from public api
layers-import-order.mdforce make imports only from lower layers
0.0.21

11 months ago

0.0.20

11 months ago

0.0.10

12 months ago

0.0.11

12 months ago

0.0.12

12 months ago

0.0.14

12 months ago

0.0.15

12 months ago

0.0.9

12 months ago

0.0.16

12 months ago

0.0.8

12 months ago

0.0.17

12 months ago

0.0.18

12 months ago

0.0.19

11 months ago

0.0.7

12 months ago

0.0.6

1 year ago

0.0.5

1 year ago

0.0.4

1 year ago

0.0.3

1 year ago

0.0.2

1 year ago

0.0.1

1 year ago

0.0.0

1 year ago