@letscooee/web-sdk 9.12.11 → 9.12.12

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/.eslintrc.json CHANGED
@@ -3,6 +3,9 @@
3
3
  "ignorePatterns": [
4
4
  "projects/**/*"
5
5
  ],
6
+ "plugins": [
7
+ "import"
8
+ ],
6
9
  "overrides": [
7
10
  {
8
11
  "files": [
@@ -10,6 +13,7 @@
10
13
  ],
11
14
  "extends": [
12
15
  "eslint:recommended",
16
+ "plugin:import/typescript",
13
17
  "plugin:@typescript-eslint/recommended",
14
18
  "plugin:@angular-eslint/recommended",
15
19
  "plugin:@angular-eslint/template/process-inline-templates"
@@ -95,6 +99,26 @@
95
99
  "named": "never",
96
100
  "asyncArrow": "always"
97
101
  }
102
+ ],
103
+ "import/no-restricted-paths": [
104
+ "error",
105
+ {
106
+ "zones": [
107
+ {
108
+ "target": "projects/**-lib/**/*",
109
+ "from": "projects/**-sdk/**/*",
110
+ "message": "Files from lib should not be imported in the sdk"
111
+ },
112
+ {
113
+ "target": "projects/analytics-sdk/**/*",
114
+ "from": "projects/widget-sdk/**/*"
115
+ },
116
+ {
117
+ "target": "projects/widget-sdk/**/*",
118
+ "from": "projects/analytics-sdk/**/*"
119
+ }
120
+ ]
121
+ }
98
122
  ]
99
123
  }
100
124
  },