@arcgis/eslint-config 5.1.0-next.124 → 5.1.0-next.126
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/config/index.js
CHANGED
|
@@ -179,11 +179,11 @@ const defaultConfig = [
|
|
|
179
179
|
"index",
|
|
180
180
|
{
|
|
181
181
|
name: "isNaN",
|
|
182
|
-
message: "Use Number.isNaN instead as it has more predictable behavior. See https://developer.mozilla.org/
|
|
182
|
+
message: "Use Number.isNaN instead as it has more predictable behavior. See https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/isNaN#description"
|
|
183
183
|
},
|
|
184
184
|
{
|
|
185
185
|
name: "isFinite",
|
|
186
|
-
message: "Use Number.isFinite instead as it has more predictable behavior. See https://developer.mozilla.org/
|
|
186
|
+
message: "Use Number.isFinite instead as it has more predictable behavior. See https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/isNaN#description (same applies to isFinite)"
|
|
187
187
|
},
|
|
188
188
|
{
|
|
189
189
|
name: "parseInt",
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { m as makeEslintPlugin, l as luminaJsxExportName, a as luminaEntrypointName, b as luminaTestEntrypointName, s as sourceCodeDeclaresComponent, p as parsePropertyDecorator, c as getProperty, i as isGetterWithoutSetter, e as extractDeclareElementsInterface, d as isCreateEvent, h as hasDecorator, f as getName, j as checkForLuminaJsx, k as isBindThisCallee, g as getComponentDeclaration, u as unwrapExpression } from "../../estree-
|
|
1
|
+
import { m as makeEslintPlugin, l as luminaJsxExportName, a as luminaEntrypointName, b as luminaTestEntrypointName, s as sourceCodeDeclaresComponent, p as parsePropertyDecorator, c as getProperty, i as isGetterWithoutSetter, e as extractDeclareElementsInterface, d as isCreateEvent, h as hasDecorator, f as getName, j as checkForLuminaJsx, k as isBindThisCallee, g as getComponentDeclaration, u as unwrapExpression } from "../../estree-CvQow6Iz.js";
|
|
2
2
|
import { AST_NODE_TYPES, ESLintUtils, AST_TOKEN_TYPES } from "@typescript-eslint/utils";
|
|
3
3
|
import ts from "typescript";
|
|
4
4
|
import { camelToKebab } from "@arcgis/toolkit/string";
|
|
@@ -3,12 +3,12 @@
|
|
|
3
3
|
* few exceptions. Explicitly declaring a custom element by this name is
|
|
4
4
|
* forbidden
|
|
5
5
|
*
|
|
6
|
-
* @see https://developer.mozilla.org/
|
|
6
|
+
* @see https://developer.mozilla.org/docs/Web/API/CustomElementRegistry/define#valid_custom_element_names
|
|
7
7
|
*/
|
|
8
8
|
export declare const blockListedCustomElementNames: Set<string>;
|
|
9
9
|
/**
|
|
10
10
|
* Simple check based on:
|
|
11
11
|
* - https://html.spec.whatwg.org/multipage/custom-elements.html#valid-custom-element-name
|
|
12
|
-
* - https://developer.mozilla.org/
|
|
12
|
+
* - https://developer.mozilla.org/docs/Web/API/CustomElementRegistry/define#valid_custom_element_names
|
|
13
13
|
*/
|
|
14
14
|
export declare function isCustomElementTag(tag: string): boolean;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { m as makeEslintPlugin, e as extractDeclareElementsInterface, g as getComponentDeclaration } from "../../estree-
|
|
1
|
+
import { m as makeEslintPlugin, e as extractDeclareElementsInterface, g as getComponentDeclaration } from "../../estree-CvQow6Iz.js";
|
|
2
2
|
import { resolve } from "path/posix";
|
|
3
3
|
import { AST_NODE_TYPES } from "@typescript-eslint/utils";
|
|
4
4
|
const plugin = makeEslintPlugin(
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@arcgis/eslint-config",
|
|
3
|
-
"version": "5.1.0-next.
|
|
3
|
+
"version": "5.1.0-next.126",
|
|
4
4
|
"description": "ESLint configuration for WebGIS SDK",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"exports": {
|
|
@@ -30,7 +30,7 @@
|
|
|
30
30
|
"tslib": "^2.8.1",
|
|
31
31
|
"typescript": "~6.0.2",
|
|
32
32
|
"typescript-eslint": "^8.58.0",
|
|
33
|
-
"@arcgis/toolkit": "5.1.0-next.
|
|
33
|
+
"@arcgis/toolkit": "5.1.0-next.126"
|
|
34
34
|
},
|
|
35
35
|
"peerDependencies": {
|
|
36
36
|
"eslint": "^10.2.0"
|