@arcgis/eslint-config 4.34.0-next.84 → 4.34.0-next.86
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,4 +1,4 @@
|
|
|
1
|
-
import { m as makeEslintPlugin } from "../../makePlugin-
|
|
1
|
+
import { m as makeEslintPlugin } from "../../makePlugin-CfWhAoD3.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";
|
|
@@ -1131,12 +1131,12 @@ ${newBodyContent}
|
|
|
1131
1131
|
}`;
|
|
1132
1132
|
return newBody;
|
|
1133
1133
|
}
|
|
1134
|
-
const baseDescription$
|
|
1134
|
+
const baseDescription$2 = `Consistently sort component members`;
|
|
1135
1135
|
plugin.createRule({
|
|
1136
1136
|
name: "member-ordering",
|
|
1137
1137
|
meta: {
|
|
1138
1138
|
docs: {
|
|
1139
|
-
description: baseDescription$
|
|
1139
|
+
description: baseDescription$2,
|
|
1140
1140
|
defaultLevel: "warn"
|
|
1141
1141
|
},
|
|
1142
1142
|
messages: {
|
|
@@ -1385,16 +1385,15 @@ plugin.createRule({
|
|
|
1385
1385
|
};
|
|
1386
1386
|
}
|
|
1387
1387
|
});
|
|
1388
|
-
const
|
|
1389
|
-
const description$b = `${baseDescription$2}
|
|
1388
|
+
const description$b = `If inline arrow function is passed to ref, it will be called again on each render.
|
|
1390
1389
|
|
|
1391
|
-
|
|
1390
|
+
If this is not desirable, see alternatives: https://qawebgis.esri.com/components/lumina/jsx#refs`;
|
|
1392
1391
|
plugin.createRule({
|
|
1393
1392
|
name: "no-inline-arrow-in-ref",
|
|
1394
1393
|
meta: {
|
|
1395
1394
|
docs: {
|
|
1396
|
-
description:
|
|
1397
|
-
defaultLevel: "
|
|
1395
|
+
description: description$b,
|
|
1396
|
+
defaultLevel: "warn"
|
|
1398
1397
|
},
|
|
1399
1398
|
messages: {
|
|
1400
1399
|
errorInlineArrow: description$b
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { m as makeEslintPlugin } from "../../makePlugin-
|
|
1
|
+
import { m as makeEslintPlugin } from "../../makePlugin-CfWhAoD3.js";
|
|
2
2
|
import { resolve } from "node: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": "4.34.0-next.
|
|
3
|
+
"version": "4.34.0-next.86",
|
|
4
4
|
"description": "ESLint configuration for arcgis-web-components",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "index.js",
|
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
],
|
|
21
21
|
"license": "SEE LICENSE IN LICENSE.md",
|
|
22
22
|
"dependencies": {
|
|
23
|
-
"@arcgis/toolkit": "4.34.0-next.
|
|
23
|
+
"@arcgis/toolkit": "4.34.0-next.86",
|
|
24
24
|
"@eslint/js": "^9.29.0",
|
|
25
25
|
"@eslint/markdown": "^6.6.0",
|
|
26
26
|
"@types/confusing-browser-globals": "^1.0.3",
|