eslint-plugin-react-debug 1.28.1-next.0 → 1.28.1-next.2
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 +3 -3
- package/dist/index.mjs +3 -3
- package/package.json +7 -7
package/dist/index.js
CHANGED
|
@@ -30,7 +30,7 @@ var settings = {
|
|
|
30
30
|
|
|
31
31
|
// package.json
|
|
32
32
|
var name2 = "eslint-plugin-react-debug";
|
|
33
|
-
var version = "1.28.1-next.
|
|
33
|
+
var version = "1.28.1-next.2";
|
|
34
34
|
var createRule = shared.createRuleForPlugin("debug");
|
|
35
35
|
|
|
36
36
|
// src/rules/class-component.ts
|
|
@@ -91,10 +91,10 @@ var function_component_default = createRule({
|
|
|
91
91
|
create(context) {
|
|
92
92
|
const { ctx, listeners } = core.useComponentCollector(
|
|
93
93
|
context,
|
|
94
|
-
core.DEFAULT_COMPONENT_HINT,
|
|
95
94
|
{
|
|
96
95
|
collectDisplayName: true,
|
|
97
|
-
collectHookCalls: true
|
|
96
|
+
collectHookCalls: true,
|
|
97
|
+
hint: core.DEFAULT_COMPONENT_HINT
|
|
98
98
|
}
|
|
99
99
|
);
|
|
100
100
|
return {
|
package/dist/index.mjs
CHANGED
|
@@ -28,7 +28,7 @@ var settings = {
|
|
|
28
28
|
|
|
29
29
|
// package.json
|
|
30
30
|
var name2 = "eslint-plugin-react-debug";
|
|
31
|
-
var version = "1.28.1-next.
|
|
31
|
+
var version = "1.28.1-next.2";
|
|
32
32
|
var createRule = createRuleForPlugin("debug");
|
|
33
33
|
|
|
34
34
|
// src/rules/class-component.ts
|
|
@@ -89,10 +89,10 @@ var function_component_default = createRule({
|
|
|
89
89
|
create(context) {
|
|
90
90
|
const { ctx, listeners } = useComponentCollector(
|
|
91
91
|
context,
|
|
92
|
-
DEFAULT_COMPONENT_HINT,
|
|
93
92
|
{
|
|
94
93
|
collectDisplayName: true,
|
|
95
|
-
collectHookCalls: true
|
|
94
|
+
collectHookCalls: true,
|
|
95
|
+
hint: DEFAULT_COMPONENT_HINT
|
|
96
96
|
}
|
|
97
97
|
);
|
|
98
98
|
return {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "eslint-plugin-react-debug",
|
|
3
|
-
"version": "1.28.1-next.
|
|
3
|
+
"version": "1.28.1-next.2",
|
|
4
4
|
"description": "ESLint React's ESLint plugin for debugging related rules.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"react",
|
|
@@ -49,12 +49,12 @@
|
|
|
49
49
|
"@typescript-eslint/utils": "^8.25.0",
|
|
50
50
|
"string-ts": "^2.2.1",
|
|
51
51
|
"ts-pattern": "^5.6.2",
|
|
52
|
-
"@eslint-react/ast": "1.28.1-next.
|
|
53
|
-
"@eslint-react/core": "1.28.1-next.
|
|
54
|
-
"@eslint-react/
|
|
55
|
-
"@eslint-react/
|
|
56
|
-
"@eslint-react/shared": "1.28.1-next.
|
|
57
|
-
"@eslint-react/var": "1.28.1-next.
|
|
52
|
+
"@eslint-react/ast": "1.28.1-next.2",
|
|
53
|
+
"@eslint-react/core": "1.28.1-next.2",
|
|
54
|
+
"@eslint-react/jsx": "1.28.1-next.2",
|
|
55
|
+
"@eslint-react/eff": "1.28.1-next.2",
|
|
56
|
+
"@eslint-react/shared": "1.28.1-next.2",
|
|
57
|
+
"@eslint-react/var": "1.28.1-next.2"
|
|
58
58
|
},
|
|
59
59
|
"devDependencies": {
|
|
60
60
|
"@types/react": "^19.0.10",
|