@arcgis/eslint-config 5.2.0-next.2 → 5.2.0-next.4
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
|
@@ -355,17 +355,14 @@ const config = [
|
|
|
355
355
|
*/
|
|
356
356
|
"@typescript-eslint/no-this-alias": "off",
|
|
357
357
|
"no-warning-comments": [
|
|
358
|
-
// TODO: consider forbidding TODO in favor of BUG, HACK, REFACTOR, FEATURE,
|
|
359
|
-
// LOW, TEST, PERF. Then can configure IDE to assign different colors to
|
|
360
|
-
// each of those
|
|
361
358
|
"error",
|
|
362
359
|
{
|
|
363
|
-
//
|
|
364
|
-
//
|
|
365
|
-
//
|
|
366
|
-
// something
|
|
360
|
+
// This will error for // ME: comments. This is convenient to write
|
|
361
|
+
// temporary TODOs that ESLint will remind you to resolve before the
|
|
362
|
+
// pull request is merged.
|
|
367
363
|
terms: ["ME"],
|
|
368
|
-
location: "
|
|
364
|
+
location: "start",
|
|
365
|
+
decoration: ["/", "*", ">"]
|
|
369
366
|
}
|
|
370
367
|
],
|
|
371
368
|
// Autofixable, so warn to be less disruptive
|
|
@@ -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-DhsSViAu.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";
|
|
@@ -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-DhsSViAu.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.2.0-next.
|
|
3
|
+
"version": "5.2.0-next.4",
|
|
4
4
|
"description": "ESLint configuration for WebGIS SDK",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"exports": {
|
|
@@ -33,7 +33,7 @@
|
|
|
33
33
|
"tslib": "^2.8.1",
|
|
34
34
|
"typescript": "~6.0.2",
|
|
35
35
|
"typescript-eslint": "^8.58.0",
|
|
36
|
-
"@arcgis/toolkit": "5.2.0-next.
|
|
36
|
+
"@arcgis/toolkit": "5.2.0-next.4"
|
|
37
37
|
},
|
|
38
38
|
"peerDependencies": {
|
|
39
39
|
"eslint": "^10.2.0"
|