eslint-plugin-laygrd-plugin 0.0.5 → 0.0.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -34,7 +34,8 @@ Then configure the rules you want to use under the rules section.
34
34
  ```json
35
35
  {
36
36
  "rules": {
37
- "laygrd-plugin/rule-name": 2
37
+ "laygrd-plugin/fsd-relative-path": ['error, { alias: '@' }],
38
+ "laygrd-plugin/public-api-imports": ['error, { alias: '@' }]
38
39
  }
39
40
  }
40
41
  ```
@@ -1,4 +1,4 @@
1
- # absolute imports allowed only from public api file (index.ts) (`public-api-exports`)
1
+ # Absolute imports should be only from module`s Public API (index.ts). (`public-api-imports`)
2
2
 
3
3
  Please describe the origin of the rule here.
4
4
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "eslint-plugin-laygrd-plugin",
3
- "version": "0.0.5",
3
+ "version": "0.0.6",
4
4
  "description": "some usefull fsd rule-checkers",
5
5
  "keywords": [
6
6
  "eslint",
@@ -8,7 +8,7 @@
8
8
  // Requirements
9
9
  //------------------------------------------------------------------------------
10
10
 
11
- const rule = require("../../../lib/rules/public-api-exports"),
11
+ const rule = require("../../../lib/rules/public-api-imports"),
12
12
  RuleTester = require("eslint").RuleTester;
13
13
 
14
14