eslint-plugin-react-debug 3.0.0-next.6 → 3.0.0-next.8
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 +6 -6
- package/package.json +6 -6
package/dist/index.js
CHANGED
|
@@ -42,7 +42,7 @@ const settings = { "react-x": DEFAULT_ESLINT_REACT_SETTINGS };
|
|
|
42
42
|
//#endregion
|
|
43
43
|
//#region package.json
|
|
44
44
|
var name = "eslint-plugin-react-debug";
|
|
45
|
-
var version = "3.0.0-next.
|
|
45
|
+
var version = "3.0.0-next.8";
|
|
46
46
|
|
|
47
47
|
//#endregion
|
|
48
48
|
//#region src/utils/create-rule.ts
|
|
@@ -173,10 +173,10 @@ function create$2(context) {
|
|
|
173
173
|
}) }
|
|
174
174
|
});
|
|
175
175
|
}
|
|
176
|
-
return {
|
|
176
|
+
return defineRuleListener({
|
|
177
177
|
Identifier: visitorFunction,
|
|
178
178
|
JSXIdentifier: visitorFunction
|
|
179
|
-
};
|
|
179
|
+
});
|
|
180
180
|
}
|
|
181
181
|
/**
|
|
182
182
|
* Check if an identifier node is initialized from React
|
|
@@ -223,10 +223,10 @@ function create$1(context) {
|
|
|
223
223
|
});
|
|
224
224
|
}
|
|
225
225
|
}
|
|
226
|
-
return {
|
|
226
|
+
return defineRuleListener({
|
|
227
227
|
Identifier: visitorFunction,
|
|
228
228
|
JSXIdentifier: visitorFunction
|
|
229
|
-
};
|
|
229
|
+
});
|
|
230
230
|
}
|
|
231
231
|
function getRefInitNode(node, initialScope) {
|
|
232
232
|
const name = node.name;
|
|
@@ -274,7 +274,7 @@ function create(context) {
|
|
|
274
274
|
}) }
|
|
275
275
|
});
|
|
276
276
|
}
|
|
277
|
-
return { "JSXElement, JSXFragment": flow(getReportDescriptor(context), report(context)) };
|
|
277
|
+
return defineRuleListener({ "JSXElement, JSXFragment": flow(getReportDescriptor(context), report(context)) });
|
|
278
278
|
}
|
|
279
279
|
|
|
280
280
|
//#endregion
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "eslint-plugin-react-debug",
|
|
3
|
-
"version": "3.0.0-next.
|
|
3
|
+
"version": "3.0.0-next.8",
|
|
4
4
|
"description": "ESLint React's ESLint plugin for debugging related rules.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"react",
|
|
@@ -43,11 +43,11 @@
|
|
|
43
43
|
"@typescript-eslint/types": "canary",
|
|
44
44
|
"@typescript-eslint/utils": "canary",
|
|
45
45
|
"ts-pattern": "^5.9.0",
|
|
46
|
-
"@eslint-react/ast": "3.0.0-next.
|
|
47
|
-
"@eslint-react/core": "3.0.0-next.
|
|
48
|
-
"@eslint-react/
|
|
49
|
-
"@eslint-react/
|
|
50
|
-
"@eslint-react/
|
|
46
|
+
"@eslint-react/ast": "3.0.0-next.8",
|
|
47
|
+
"@eslint-react/core": "3.0.0-next.8",
|
|
48
|
+
"@eslint-react/shared": "3.0.0-next.8",
|
|
49
|
+
"@eslint-react/eff": "3.0.0-next.8",
|
|
50
|
+
"@eslint-react/var": "3.0.0-next.8"
|
|
51
51
|
},
|
|
52
52
|
"devDependencies": {
|
|
53
53
|
"@types/react": "^19.2.14",
|