@arcgis/eslint-config 4.32.0-next.83 → 4.32.0-next.85
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/dist/{chunk-JWREU472.js → chunk-CAEI4NLN.js} +1 -1
- package/dist/{chunk-UJH6EC4B.js → chunk-JQUO5RMU.js} +1 -1
- package/dist/{chunk-M6PRDATW.js → chunk-WUFO6PAG.js} +1 -1
- package/dist/config/index.js +2 -11
- package/dist/config/lumina.js +2 -6
- package/dist/plugins/lumina/index.js +2 -2
- package/dist/plugins/webgis/index.js +2 -2
- package/package.json +2 -3
- package/dist/chunk-WAWBOPY7.js +0 -19
- package/dist/config/restrictedImports.d.ts +0 -6
- package/dist/config/restrictedImports.js +0 -6
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
makeEslintPlugin
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-CAEI4NLN.js";
|
|
4
4
|
|
|
5
5
|
// src/plugins/utils/helpers.ts
|
|
6
6
|
var isTestFile = (filePath) => filePath.includes("/test") || filePath.includes(".test") || filePath.includes(".spec") || filePath.includes("e2e") || filePath.includes("__") || filePath.includes("/.");
|
package/dist/config/index.js
CHANGED
|
@@ -1,10 +1,7 @@
|
|
|
1
|
-
import {
|
|
2
|
-
restrictedImports
|
|
3
|
-
} from "../chunk-WAWBOPY7.js";
|
|
4
1
|
import {
|
|
5
2
|
webgis_default
|
|
6
|
-
} from "../chunk-
|
|
7
|
-
import "../chunk-
|
|
3
|
+
} from "../chunk-WUFO6PAG.js";
|
|
4
|
+
import "../chunk-CAEI4NLN.js";
|
|
8
5
|
|
|
9
6
|
// src/config/index.ts
|
|
10
7
|
import eslint from "@eslint/js";
|
|
@@ -265,12 +262,6 @@ var config_default = [
|
|
|
265
262
|
// "no-console": 'error',
|
|
266
263
|
"no-eval": "error",
|
|
267
264
|
"no-extend-native": "error",
|
|
268
|
-
"@typescript-eslint/no-restricted-imports": [
|
|
269
|
-
"error",
|
|
270
|
-
{
|
|
271
|
-
patterns: restrictedImports
|
|
272
|
-
}
|
|
273
|
-
],
|
|
274
265
|
// This creates less readable code
|
|
275
266
|
"no-return-assign": "error",
|
|
276
267
|
"no-script-url": "error",
|
package/dist/config/lumina.js
CHANGED
|
@@ -1,10 +1,7 @@
|
|
|
1
|
-
import {
|
|
2
|
-
restrictedImports
|
|
3
|
-
} from "../chunk-WAWBOPY7.js";
|
|
4
1
|
import {
|
|
5
2
|
lumina_default
|
|
6
|
-
} from "../chunk-
|
|
7
|
-
import "../chunk-
|
|
3
|
+
} from "../chunk-JQUO5RMU.js";
|
|
4
|
+
import "../chunk-CAEI4NLN.js";
|
|
8
5
|
|
|
9
6
|
// src/config/storybook.ts
|
|
10
7
|
import eslintPluginStorybook from "eslint-plugin-storybook";
|
|
@@ -76,7 +73,6 @@ var lumina_default2 = [
|
|
|
76
73
|
"error",
|
|
77
74
|
{
|
|
78
75
|
patterns: [
|
|
79
|
-
...restrictedImports,
|
|
80
76
|
{
|
|
81
77
|
group: ["/lit"],
|
|
82
78
|
importNames: ["LitElement"],
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@arcgis/eslint-config",
|
|
3
|
-
"version": "4.32.0-next.
|
|
3
|
+
"version": "4.32.0-next.85",
|
|
4
4
|
"description": "ESLint configuration for arcgis-web-components",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "index.js",
|
|
@@ -10,7 +10,6 @@
|
|
|
10
10
|
".": "./dist/config/index.js",
|
|
11
11
|
"./extra": "./dist/config/extra.js",
|
|
12
12
|
"./lumina": "./dist/config/lumina.js",
|
|
13
|
-
"./restrictedImports": "./dist/config/restrictedImports.js",
|
|
14
13
|
"./plugins/webgis": "./dist/plugins/webgis/index.js",
|
|
15
14
|
"./plugins/lumina": "./dist/plugins/lumina/index.js",
|
|
16
15
|
"./package.json": "./package.json"
|
|
@@ -20,7 +19,7 @@
|
|
|
20
19
|
],
|
|
21
20
|
"license": "SEE LICENSE IN LICENSE.md",
|
|
22
21
|
"dependencies": {
|
|
23
|
-
"@arcgis/components-utils": "4.32.0-next.
|
|
22
|
+
"@arcgis/components-utils": "4.32.0-next.85",
|
|
24
23
|
"@eslint/js": "^9.17.0",
|
|
25
24
|
"@types/confusing-browser-globals": "^1.0.3",
|
|
26
25
|
"confusing-browser-globals": "^1.0.11",
|
package/dist/chunk-WAWBOPY7.js
DELETED
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
// src/config/restrictedImports.ts
|
|
2
|
-
var restrictedImports = [
|
|
3
|
-
{
|
|
4
|
-
group: ["/@arcgis/core/*", "!/@arcgis/core/package.json"],
|
|
5
|
-
message: "Directly importing from @arcgis/core is not supported. Use the core adapter instead. See https://qawebgis.esri.com/components/reference/core-adapter",
|
|
6
|
-
allowTypeImports: true,
|
|
7
|
-
caseSensitive: true
|
|
8
|
-
},
|
|
9
|
-
{
|
|
10
|
-
group: ["/@esri/calcite-components/dist/components/"],
|
|
11
|
-
message: "Importing from Calcite is not necessary as needed Calcite web component imports are going to be added at build time. See https://qawebgis.esri.com/components/reference/calcite-dependency",
|
|
12
|
-
allowTypeImports: true,
|
|
13
|
-
caseSensitive: true
|
|
14
|
-
}
|
|
15
|
-
];
|
|
16
|
-
|
|
17
|
-
export {
|
|
18
|
-
restrictedImports
|
|
19
|
-
};
|