@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.
@@ -1,5 +1,5 @@
1
1
  // package.json
2
- var version = "4.32.0-next.83";
2
+ var version = "4.32.0-next.85";
3
3
 
4
4
  // src/plugins/utils/makePlugin.ts
5
5
  function makeEslintPlugin(pluginName, rules) {
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  makeEslintPlugin
3
- } from "./chunk-JWREU472.js";
3
+ } from "./chunk-CAEI4NLN.js";
4
4
 
5
5
  // src/plugins/lumina/rules/add-missing-jsx-import.ts
6
6
  import { AST_NODE_TYPES as AST_NODE_TYPES2 } from "@typescript-eslint/utils";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  makeEslintPlugin
3
- } from "./chunk-JWREU472.js";
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("/.");
@@ -1,10 +1,7 @@
1
- import {
2
- restrictedImports
3
- } from "../chunk-WAWBOPY7.js";
4
1
  import {
5
2
  webgis_default
6
- } from "../chunk-M6PRDATW.js";
7
- import "../chunk-JWREU472.js";
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",
@@ -1,10 +1,7 @@
1
- import {
2
- restrictedImports
3
- } from "../chunk-WAWBOPY7.js";
4
1
  import {
5
2
  lumina_default
6
- } from "../chunk-UJH6EC4B.js";
7
- import "../chunk-JWREU472.js";
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"],
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  lumina_default
3
- } from "../../chunk-UJH6EC4B.js";
4
- import "../../chunk-JWREU472.js";
3
+ } from "../../chunk-JQUO5RMU.js";
4
+ import "../../chunk-CAEI4NLN.js";
5
5
  export {
6
6
  lumina_default as default
7
7
  };
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  webgis_default
3
- } from "../../chunk-M6PRDATW.js";
4
- import "../../chunk-JWREU472.js";
3
+ } from "../../chunk-WUFO6PAG.js";
4
+ import "../../chunk-CAEI4NLN.js";
5
5
  export {
6
6
  webgis_default as default
7
7
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@arcgis/eslint-config",
3
- "version": "4.32.0-next.83",
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.83",
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",
@@ -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
- };
@@ -1,6 +0,0 @@
1
- export declare const restrictedImports: {
2
- group: string[];
3
- message: string;
4
- allowTypeImports: boolean;
5
- caseSensitive: boolean;
6
- }[];
@@ -1,6 +0,0 @@
1
- import {
2
- restrictedImports
3
- } from "../chunk-WAWBOPY7.js";
4
- export {
5
- restrictedImports
6
- };