@arcgis/eslint-config 5.0.0-next.135 → 5.0.0-next.137

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.
@@ -280,7 +280,7 @@ const defaultConfig = [
280
280
  "no-loss-of-precision": "error",
281
281
  "@typescript-eslint/switch-exhaustiveness-check": "error",
282
282
  "default-case-last": "error",
283
- "func-style": ["error", "declaration", { allowArrowFunctions: true }],
283
+ "func-style": ["error", "declaration", { allowArrowFunctions: true, allowTypeAnnotation: true }],
284
284
  "no-new-func": "error",
285
285
  "no-new-wrappers": "error",
286
286
  "@typescript-eslint/no-misused-promises": [
@@ -1,5 +1,5 @@
1
1
  import { ESLintUtils } from "@typescript-eslint/utils";
2
- const version = "5.0.0-next.135";
2
+ const version = "5.0.0-next.137";
3
3
  const packageJson = {
4
4
  version
5
5
  };
@@ -1,4 +1,4 @@
1
- import { m as makeEslintPlugin } from "../../makePlugin-B29XRRzc.js";
1
+ import { m as makeEslintPlugin } from "../../makePlugin-mH-usi_V.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 } from "../../makePlugin-B29XRRzc.js";
1
+ import { m as makeEslintPlugin } from "../../makePlugin-mH-usi_V.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.135",
3
+ "version": "5.0.0-next.137",
4
4
  "description": "ESLint configuration for arcgis-web-components",
5
5
  "type": "module",
6
6
  "main": "index.js",
@@ -20,16 +20,17 @@
20
20
  ],
21
21
  "license": "SEE LICENSE IN LICENSE.md",
22
22
  "dependencies": {
23
- "@arcgis/toolkit": "5.0.0-next.135",
24
23
  "@eslint/js": "^9.39.1",
25
24
  "@eslint/markdown": "^7.5.1",
26
25
  "@types/confusing-browser-globals": "^1.0.3",
26
+ "@typescript-eslint/utils": "^8.46.4",
27
27
  "confusing-browser-globals": "^1.0.11",
28
28
  "eslint-plugin-storybook": "^0.12.0",
29
29
  "globals": "^16.5.0",
30
30
  "tslib": "^2.8.1",
31
31
  "typescript": "~5.9.3",
32
- "typescript-eslint": "^8.46.3"
32
+ "typescript-eslint": "^8.46.3",
33
+ "@arcgis/toolkit": "5.0.0-next.137"
33
34
  },
34
35
  "peerDependencies": {
35
36
  "eslint": "^9.39.1"