eslint-plugin-react-hooks 6.1.0-canary-2f0e7e57-20250715 → 6.1.0-canary-d85ec5f5-20250716
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.
|
@@ -24213,6 +24213,8 @@ function isReorderableExpression(builder, expr, allowLocalIdentifiers) {
|
|
|
24213
24213
|
}
|
|
24214
24214
|
}
|
|
24215
24215
|
}
|
|
24216
|
+
case 'TSAsExpression':
|
|
24217
|
+
case 'TSNonNullExpression':
|
|
24216
24218
|
case 'TypeCastExpression': {
|
|
24217
24219
|
return isReorderableExpression(builder, expr.get('expression'), allowLocalIdentifiers);
|
|
24218
24220
|
}
|
|
@@ -24204,6 +24204,8 @@ function isReorderableExpression(builder, expr, allowLocalIdentifiers) {
|
|
|
24204
24204
|
}
|
|
24205
24205
|
}
|
|
24206
24206
|
}
|
|
24207
|
+
case 'TSAsExpression':
|
|
24208
|
+
case 'TSNonNullExpression':
|
|
24207
24209
|
case 'TypeCastExpression': {
|
|
24208
24210
|
return isReorderableExpression(builder, expr.get('expression'), allowLocalIdentifiers);
|
|
24209
24211
|
}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "eslint-plugin-react-hooks",
|
|
3
3
|
"description": "ESLint rules for React Hooks",
|
|
4
|
-
"version": "6.1.0-canary-
|
|
4
|
+
"version": "6.1.0-canary-d85ec5f5-20250716",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
7
7
|
"url": "https://github.com/facebook/react.git",
|