eslint-plugin-big-react-app-plugin 0.0.3 → 0.0.4

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.
@@ -48,7 +48,7 @@ const shouldBeRelative = (from, to)=>{
48
48
  const toLayer = toArray[0];
49
49
  //"C:\Users\ADMIN\Documents\GitHub\ulbi\big-app-react\src\entities\Article\model\types\artcile.ts"
50
50
  const toSlice = toArray[1];
51
- if(!toLayer || !toSlice || layers[toArray]){
51
+ if(!toLayer || !toSlice || !layers[toArray]){
52
52
  return false
53
53
  }
54
54
  //нормализуем путь
@@ -57,7 +57,7 @@ const shouldBeRelative = (from, to)=>{
57
57
 
58
58
  const fromLayer = fromArray[1];
59
59
  const fromSlice = fromArray[2];
60
- if(!fromLayer || !fromSlice || layers[fromArray]){
60
+ if(!fromLayer || !fromSlice || !layers[fromArray]){
61
61
  return false
62
62
  }
63
63
  return toSlice === fromSlice && toLayer === fromLayer
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "eslint-plugin-big-react-app-plugin",
3
- "version": "0.0.3",
3
+ "version": "0.0.4",
4
4
  "description": "plugin for prod proj",
5
5
  "keywords": [
6
6
  "eslint",