eslint-plugin-react-x 1.22.0-next.2 → 1.22.1-beta.0
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 +5 -3
- package/dist/index.mjs +5 -3
- package/package.json +8 -8
package/dist/index.js
CHANGED
|
@@ -41,7 +41,7 @@ var ts__default = /*#__PURE__*/_interopDefault(ts);
|
|
|
41
41
|
|
|
42
42
|
// package.json
|
|
43
43
|
var name = "eslint-plugin-react-x";
|
|
44
|
-
var version = "1.22.
|
|
44
|
+
var version = "1.22.1-beta.0";
|
|
45
45
|
var createRule = shared.createRuleForPlugin("x");
|
|
46
46
|
|
|
47
47
|
// src/rules/avoid-shorthand-boolean.ts
|
|
@@ -2950,8 +2950,10 @@ var use_jsx_vars_default = createRule({
|
|
|
2950
2950
|
meta: {
|
|
2951
2951
|
type: "problem",
|
|
2952
2952
|
docs: {
|
|
2953
|
-
|
|
2954
|
-
|
|
2953
|
+
description: (
|
|
2954
|
+
// eslint-disable-next-line eslint-plugin/require-meta-docs-description
|
|
2955
|
+
"helpes `eslint/no-unused-vars` to correctly mark JSX variables as used."
|
|
2956
|
+
),
|
|
2955
2957
|
[Symbol.for("rule_features")]: RULE_FEATURES49
|
|
2956
2958
|
},
|
|
2957
2959
|
messages: {
|
package/dist/index.mjs
CHANGED
|
@@ -14,7 +14,7 @@ import { getTypeImmutability, isUnknown, isImmutable, isReadonlyShallow, isReado
|
|
|
14
14
|
|
|
15
15
|
// package.json
|
|
16
16
|
var name = "eslint-plugin-react-x";
|
|
17
|
-
var version = "1.22.
|
|
17
|
+
var version = "1.22.1-beta.0";
|
|
18
18
|
var createRule = createRuleForPlugin("x");
|
|
19
19
|
|
|
20
20
|
// src/rules/avoid-shorthand-boolean.ts
|
|
@@ -2923,8 +2923,10 @@ var use_jsx_vars_default = createRule({
|
|
|
2923
2923
|
meta: {
|
|
2924
2924
|
type: "problem",
|
|
2925
2925
|
docs: {
|
|
2926
|
-
|
|
2927
|
-
|
|
2926
|
+
description: (
|
|
2927
|
+
// eslint-disable-next-line eslint-plugin/require-meta-docs-description
|
|
2928
|
+
"helpes `eslint/no-unused-vars` to correctly mark JSX variables as used."
|
|
2929
|
+
),
|
|
2928
2930
|
[Symbol.for("rule_features")]: RULE_FEATURES49
|
|
2929
2931
|
},
|
|
2930
2932
|
messages: {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "eslint-plugin-react-x",
|
|
3
|
-
"version": "1.22.
|
|
3
|
+
"version": "1.22.1-beta.0",
|
|
4
4
|
"description": "A set of composable ESLint rules for libraries and frameworks that use React as a UI runtime.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"react",
|
|
@@ -49,13 +49,13 @@
|
|
|
49
49
|
"compare-versions": "^6.1.1",
|
|
50
50
|
"is-immutable-type": "^5.0.0",
|
|
51
51
|
"ts-pattern": "^5.6.0",
|
|
52
|
-
"@eslint-react/ast": "1.22.
|
|
53
|
-
"@eslint-react/
|
|
54
|
-
"@eslint-react/
|
|
55
|
-
"@eslint-react/jsx": "1.22.
|
|
56
|
-
"@eslint-react/
|
|
57
|
-
"@eslint-react/types": "1.22.
|
|
58
|
-
"@eslint-react/
|
|
52
|
+
"@eslint-react/ast": "1.22.1-beta.0",
|
|
53
|
+
"@eslint-react/core": "1.22.1-beta.0",
|
|
54
|
+
"@eslint-react/eff": "1.22.1-beta.0",
|
|
55
|
+
"@eslint-react/jsx": "1.22.1-beta.0",
|
|
56
|
+
"@eslint-react/shared": "1.22.1-beta.0",
|
|
57
|
+
"@eslint-react/types": "1.22.1-beta.0",
|
|
58
|
+
"@eslint-react/var": "1.22.1-beta.0"
|
|
59
59
|
},
|
|
60
60
|
"devDependencies": {
|
|
61
61
|
"@types/react": "^19.0.2",
|