0.0.25 • Published 10 months ago
eslint-plugin-netliukh-demian-fsd-plugin v0.0.25
eslint-plugin-netliukh-demian-fsd-plugin
Plugin designed to find and fix Feature-sliced design violations.
Installation
You'll first need to install ESLint:
npm i eslint --save-dev
Next, install eslint-plugin-netliukh-demian-fsd-plugin
:
npm install eslint-plugin-netliukh-demian-fsd-plugin --save-dev
Usage
Add netliukh-demian-fsd-plugin
to the plugins section of your .eslintrc
configuration file. You can omit the eslint-plugin-
prefix:
{
"plugins": ["netliukh-demian-fsd-plugin"]
}
Then configure the rules you want to use under the rules section.
{
"rules": {
"netliukh-demian-fsd-plugin/rule-name": 2
}
}
Rules
Name | Description |
---|---|
check-path | Check is path should be relative according to Feature-sliced design methodology. |
layer-imports | Check for imports from upper layers |
public-api-imports | Checks if absolute path imports from public api |
0.0.21
10 months ago
0.0.22
10 months ago
0.0.23
10 months ago
0.0.24
10 months ago
0.0.25
10 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.13
12 months ago
0.0.14
12 months ago
0.0.3
12 months ago
0.0.15
11 months ago
0.0.9
12 months ago
0.0.16
11 months ago
0.0.8
12 months ago
0.0.17
11 months ago
0.0.18
11 months ago
0.0.19
11 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.2
1 year ago
0.0.1
1 year ago
0.0.0
1 year ago