@typescript-eslint/eslint-plugin 8.41.1-alpha.8 → 8.42.0

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.
@@ -124,8 +124,8 @@ function getOpeningParenOfParams(node, sourceCode) {
124
124
  */
125
125
  function getFunctionHeadLoc(node, sourceCode) {
126
126
  const parent = node.parent;
127
- let start = null;
128
- let end = null;
127
+ let start;
128
+ let end;
129
129
  if (parent.type === utils_1.AST_NODE_TYPES.MethodDefinition ||
130
130
  parent.type === utils_1.AST_NODE_TYPES.PropertyDefinition) {
131
131
  // the decorator's range is included within the member
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@typescript-eslint/eslint-plugin",
3
- "version": "8.41.1-alpha.8",
3
+ "version": "8.42.0",
4
4
  "description": "TypeScript plugin for ESLint",
5
5
  "files": [
6
6
  "dist",
@@ -59,10 +59,10 @@
59
59
  },
60
60
  "dependencies": {
61
61
  "@eslint-community/regexpp": "^4.10.0",
62
- "@typescript-eslint/scope-manager": "8.41.1-alpha.8",
63
- "@typescript-eslint/type-utils": "8.41.1-alpha.8",
64
- "@typescript-eslint/utils": "8.41.1-alpha.8",
65
- "@typescript-eslint/visitor-keys": "8.41.1-alpha.8",
62
+ "@typescript-eslint/scope-manager": "8.42.0",
63
+ "@typescript-eslint/type-utils": "8.42.0",
64
+ "@typescript-eslint/utils": "8.42.0",
65
+ "@typescript-eslint/visitor-keys": "8.42.0",
66
66
  "graphemer": "^1.4.0",
67
67
  "ignore": "^7.0.0",
68
68
  "natural-compare": "^1.4.0",
@@ -71,8 +71,8 @@
71
71
  "devDependencies": {
72
72
  "@types/mdast": "^4.0.3",
73
73
  "@types/natural-compare": "*",
74
- "@typescript-eslint/rule-schema-to-typescript-types": "8.41.1-alpha.8",
75
- "@typescript-eslint/rule-tester": "8.41.1-alpha.8",
74
+ "@typescript-eslint/rule-schema-to-typescript-types": "8.42.0",
75
+ "@typescript-eslint/rule-tester": "8.42.0",
76
76
  "@vitest/coverage-v8": "^3.1.3",
77
77
  "ajv": "^6.12.6",
78
78
  "cross-fetch": "*",
@@ -92,7 +92,7 @@
92
92
  "vitest": "^3.1.3"
93
93
  },
94
94
  "peerDependencies": {
95
- "@typescript-eslint/parser": "^8.41.1-alpha.8",
95
+ "@typescript-eslint/parser": "^8.42.0",
96
96
  "eslint": "^8.57.0 || ^9.0.0",
97
97
  "typescript": ">=4.8.4 <6.0.0"
98
98
  },