eslint-plugin-react-x 1.15.1-next.12 → 1.15.1-next.13
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 -2
- package/dist/index.mjs +3 -2
- package/package.json +8 -8
package/dist/index.js
CHANGED
|
@@ -41,7 +41,7 @@ var ts25__default = /*#__PURE__*/_interopDefault(ts25);
|
|
|
41
41
|
|
|
42
42
|
// package.json
|
|
43
43
|
var name = "eslint-plugin-react-x";
|
|
44
|
-
var version = "1.15.1-next.
|
|
44
|
+
var version = "1.15.1-next.13";
|
|
45
45
|
var createRule = shared.createRuleForPlugin("x");
|
|
46
46
|
|
|
47
47
|
// src/rules/avoid-shorthand-boolean.ts
|
|
@@ -2310,7 +2310,8 @@ var no_useless_fragment_default = createRule({
|
|
|
2310
2310
|
additionalProperties: false,
|
|
2311
2311
|
properties: {
|
|
2312
2312
|
allowExpressions: {
|
|
2313
|
-
type: "boolean"
|
|
2313
|
+
type: "boolean",
|
|
2314
|
+
description: "Allow fragments with a single expression child"
|
|
2314
2315
|
}
|
|
2315
2316
|
}
|
|
2316
2317
|
}]
|
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.15.1-next.
|
|
17
|
+
var version = "1.15.1-next.13";
|
|
18
18
|
var createRule = createRuleForPlugin("x");
|
|
19
19
|
|
|
20
20
|
// src/rules/avoid-shorthand-boolean.ts
|
|
@@ -2283,7 +2283,8 @@ var no_useless_fragment_default = createRule({
|
|
|
2283
2283
|
additionalProperties: false,
|
|
2284
2284
|
properties: {
|
|
2285
2285
|
allowExpressions: {
|
|
2286
|
-
type: "boolean"
|
|
2286
|
+
type: "boolean",
|
|
2287
|
+
description: "Allow fragments with a single expression child"
|
|
2287
2288
|
}
|
|
2288
2289
|
}
|
|
2289
2290
|
}]
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "eslint-plugin-react-x",
|
|
3
|
-
"version": "1.15.1-next.
|
|
3
|
+
"version": "1.15.1-next.13",
|
|
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
|
"eslint",
|
|
@@ -48,13 +48,13 @@
|
|
|
48
48
|
"@typescript-eslint/utils": "^8.11.0",
|
|
49
49
|
"is-immutable-type": "5.0.0",
|
|
50
50
|
"ts-pattern": "^5.5.0",
|
|
51
|
-
"@eslint-react/ast": "1.15.1-next.
|
|
52
|
-
"@eslint-react/core": "1.15.1-next.
|
|
53
|
-
"@eslint-react/jsx": "1.15.1-next.
|
|
54
|
-
"@eslint-react/shared": "1.15.1-next.
|
|
55
|
-
"@eslint-react/types": "1.15.1-next.
|
|
56
|
-
"@eslint-react/
|
|
57
|
-
"@eslint-react/
|
|
51
|
+
"@eslint-react/ast": "1.15.1-next.13",
|
|
52
|
+
"@eslint-react/core": "1.15.1-next.13",
|
|
53
|
+
"@eslint-react/jsx": "1.15.1-next.13",
|
|
54
|
+
"@eslint-react/shared": "1.15.1-next.13",
|
|
55
|
+
"@eslint-react/types": "1.15.1-next.13",
|
|
56
|
+
"@eslint-react/tools": "1.15.1-next.13",
|
|
57
|
+
"@eslint-react/var": "1.15.1-next.13"
|
|
58
58
|
},
|
|
59
59
|
"devDependencies": {
|
|
60
60
|
"@types/react": "^18.3.12",
|