0.0.21 • Published 2 years ago

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

Weekly downloads
-
License
ISC
Repository
-
Last release
2 years 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

2 years ago

0.0.20

2 years ago

0.0.10

2 years ago

0.0.11

2 years ago

0.0.12

2 years ago

0.0.14

2 years ago

0.0.15

2 years ago

0.0.9

2 years ago

0.0.16

2 years ago

0.0.8

2 years ago

0.0.17

2 years ago

0.0.18

2 years ago

0.0.19

2 years ago

0.0.7

2 years ago

0.0.6

2 years ago

0.0.5

2 years ago

0.0.4

2 years ago

0.0.3

2 years ago

0.0.2

2 years ago

0.0.1

2 years ago

0.0.0

2 years ago