@arcgis/eslint-config 5.0.0-next.74 → 5.0.0-next.76
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-DBfaKIRs.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";
|
|
@@ -1194,7 +1194,7 @@ plugin.createRule({
|
|
|
1194
1194
|
* ignore possible errors in getter/setters (but those errors would
|
|
1195
1195
|
* still be fixed as long as there is any other error in the file).
|
|
1196
1196
|
*/
|
|
1197
|
-
!seenNames.has(name) && (member.type !== AST_NODE_TYPES.MethodDefinition || member.kind !== "get" && member.kind !== "set")
|
|
1197
|
+
!seenNames.has(name) && (member.type !== AST_NODE_TYPES.MethodDefinition || member.kind !== "get" && member.kind !== "set" && member.value.type !== AST_NODE_TYPES.TSEmptyBodyFunctionExpression)
|
|
1198
1198
|
) {
|
|
1199
1199
|
wrongOrdering ||= currentRegion !== newRegion;
|
|
1200
1200
|
wrongOrdering ||= previousRegion !== currentRegion && ordering.indexOf(previousRegion) > ordering.indexOf(currentRegion);
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { m as makeEslintPlugin } from "../../makePlugin-
|
|
1
|
+
import { m as makeEslintPlugin } from "../../makePlugin-DBfaKIRs.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.0.0-next.
|
|
3
|
+
"version": "5.0.0-next.76",
|
|
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": "5.0.0-next.
|
|
23
|
+
"@arcgis/toolkit": "5.0.0-next.76",
|
|
24
24
|
"@eslint/js": "^9.39.1",
|
|
25
25
|
"@eslint/markdown": "^7.5.1",
|
|
26
26
|
"@types/confusing-browser-globals": "^1.0.3",
|