@eslint-react/core 2.7.0-beta.0 → 2.7.0-beta.1
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/index.js +1 -1
- package/package.json +5 -5
package/dist/index.js
CHANGED
|
@@ -792,7 +792,7 @@ function shouldExcludeBasedOnHint(node, hint) {
|
|
|
792
792
|
if (hint & ComponentDetectionHint.SkipObjectMethod && isMatching(FUNCTION_PATTERNS.OBJECT_METHOD)(node)) return true;
|
|
793
793
|
if (hint & ComponentDetectionHint.SkipClassMethod && isMatching(FUNCTION_PATTERNS.CLASS_METHOD)(node)) return true;
|
|
794
794
|
if (hint & ComponentDetectionHint.SkipClassProperty && isMatching(FUNCTION_PATTERNS.CLASS_PROPERTY)(node)) return true;
|
|
795
|
-
if (hint & ComponentDetectionHint.SkipArrayMapCallback && AST.
|
|
795
|
+
if (hint & ComponentDetectionHint.SkipArrayMapCallback && AST.isArrayMapCall(node.parent)) return true;
|
|
796
796
|
return false;
|
|
797
797
|
}
|
|
798
798
|
/**
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@eslint-react/core",
|
|
3
|
-
"version": "2.7.0-beta.
|
|
3
|
+
"version": "2.7.0-beta.1",
|
|
4
4
|
"description": "ESLint React's ESLint utility module for static analysis of React core APIs and patterns.",
|
|
5
5
|
"homepage": "https://github.com/Rel1cx/eslint-react",
|
|
6
6
|
"bugs": {
|
|
@@ -35,10 +35,10 @@
|
|
|
35
35
|
"@typescript-eslint/utils": "^8.53.0",
|
|
36
36
|
"birecord": "^0.1.1",
|
|
37
37
|
"ts-pattern": "^5.9.0",
|
|
38
|
-
"@eslint-react/ast": "2.7.0-beta.
|
|
39
|
-
"@eslint-react/eff": "2.7.0-beta.
|
|
40
|
-
"@eslint-react/shared": "2.7.0-beta.
|
|
41
|
-
"@eslint-react/var": "2.7.0-beta.
|
|
38
|
+
"@eslint-react/ast": "2.7.0-beta.1",
|
|
39
|
+
"@eslint-react/eff": "2.7.0-beta.1",
|
|
40
|
+
"@eslint-react/shared": "2.7.0-beta.1",
|
|
41
|
+
"@eslint-react/var": "2.7.0-beta.1"
|
|
42
42
|
},
|
|
43
43
|
"devDependencies": {
|
|
44
44
|
"tsdown": "^0.20.0-beta.3",
|