eslint-plugin-react-naming-convention 1.28.1-next.1 → 1.28.1-next.3
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 +6 -6
package/dist/index.js
CHANGED
|
@@ -51,7 +51,7 @@ var rules = {};
|
|
|
51
51
|
|
|
52
52
|
// package.json
|
|
53
53
|
var name2 = "eslint-plugin-react-naming-convention";
|
|
54
|
-
var version = "1.28.1-next.
|
|
54
|
+
var version = "1.28.1-next.3";
|
|
55
55
|
var createRule = shared.createRuleForPlugin("naming-convention");
|
|
56
56
|
|
|
57
57
|
// src/rules/component-name.ts
|
|
@@ -415,10 +415,10 @@ var use_state_default = createRule({
|
|
|
415
415
|
listeners
|
|
416
416
|
} = core.useComponentCollector(
|
|
417
417
|
context,
|
|
418
|
-
core.DEFAULT_COMPONENT_HINT,
|
|
419
418
|
{
|
|
420
419
|
collectDisplayName: false,
|
|
421
|
-
collectHookCalls: true
|
|
420
|
+
collectHookCalls: true,
|
|
421
|
+
hint: core.DEFAULT_COMPONENT_HINT
|
|
422
422
|
}
|
|
423
423
|
);
|
|
424
424
|
return {
|
package/dist/index.mjs
CHANGED
|
@@ -25,7 +25,7 @@ var rules = {};
|
|
|
25
25
|
|
|
26
26
|
// package.json
|
|
27
27
|
var name2 = "eslint-plugin-react-naming-convention";
|
|
28
|
-
var version = "1.28.1-next.
|
|
28
|
+
var version = "1.28.1-next.3";
|
|
29
29
|
var createRule = createRuleForPlugin("naming-convention");
|
|
30
30
|
|
|
31
31
|
// src/rules/component-name.ts
|
|
@@ -389,10 +389,10 @@ var use_state_default = createRule({
|
|
|
389
389
|
listeners
|
|
390
390
|
} = useComponentCollector(
|
|
391
391
|
context,
|
|
392
|
-
DEFAULT_COMPONENT_HINT,
|
|
393
392
|
{
|
|
394
393
|
collectDisplayName: false,
|
|
395
|
-
collectHookCalls: true
|
|
394
|
+
collectHookCalls: true,
|
|
395
|
+
hint: DEFAULT_COMPONENT_HINT
|
|
396
396
|
}
|
|
397
397
|
);
|
|
398
398
|
return {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "eslint-plugin-react-naming-convention",
|
|
3
|
-
"version": "1.28.1-next.
|
|
3
|
+
"version": "1.28.1-next.3",
|
|
4
4
|
"description": "ESLint React's ESLint plugin for naming convention related rules.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"react",
|
|
@@ -49,11 +49,11 @@
|
|
|
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.
|
|
52
|
+
"@eslint-react/ast": "1.28.1-next.3",
|
|
53
|
+
"@eslint-react/core": "1.28.1-next.3",
|
|
54
|
+
"@eslint-react/eff": "1.28.1-next.3",
|
|
55
|
+
"@eslint-react/jsx": "1.28.1-next.3",
|
|
56
|
+
"@eslint-react/shared": "1.28.1-next.3"
|
|
57
57
|
},
|
|
58
58
|
"devDependencies": {
|
|
59
59
|
"@types/react": "^19.0.10",
|