eslint-plugin-react-jsx 4.0.3-beta.0 → 4.2.0-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 +6 -6
- package/package.json +6 -6
package/dist/index.js
CHANGED
|
@@ -23,7 +23,7 @@ var __exportAll = (all, no_symbols) => {
|
|
|
23
23
|
//#endregion
|
|
24
24
|
//#region package.json
|
|
25
25
|
var name$2 = "eslint-plugin-react-jsx";
|
|
26
|
-
var version = "4.0
|
|
26
|
+
var version = "4.2.0-beta.0";
|
|
27
27
|
|
|
28
28
|
//#endregion
|
|
29
29
|
//#region src/utils/create-rule.ts
|
|
@@ -265,9 +265,9 @@ function create$3(context) {
|
|
|
265
265
|
}
|
|
266
266
|
|
|
267
267
|
//#endregion
|
|
268
|
-
//#region src/rules/no-
|
|
269
|
-
const RULE_NAME$2 = "no-
|
|
270
|
-
var
|
|
268
|
+
//#region src/rules/no-key-after-spread/no-key-after-spread.ts
|
|
269
|
+
const RULE_NAME$2 = "no-key-after-spread";
|
|
270
|
+
var no_key_after_spread_default = createRule({
|
|
271
271
|
meta: {
|
|
272
272
|
type: "problem",
|
|
273
273
|
docs: { description: "Prevent patterns that cause deoptimization when using the automatic JSX runtime." },
|
|
@@ -451,7 +451,7 @@ const plugin = {
|
|
|
451
451
|
"no-children-prop": no_children_prop_default,
|
|
452
452
|
"no-children-prop-with-children": no_children_prop_with_children_default,
|
|
453
453
|
"no-comment-textnodes": no_comment_textnodes_default,
|
|
454
|
-
"no-
|
|
454
|
+
"no-key-after-spread": no_key_after_spread_default,
|
|
455
455
|
"no-namespace": no_namespace_default,
|
|
456
456
|
"no-useless-fragment": no_useless_fragment_default
|
|
457
457
|
}
|
|
@@ -469,7 +469,7 @@ const name$1 = "react-jsx/recommended";
|
|
|
469
469
|
const rules$1 = {
|
|
470
470
|
"react-jsx/no-children-prop": "warn",
|
|
471
471
|
"react-jsx/no-comment-textnodes": "warn",
|
|
472
|
-
"react-jsx/no-
|
|
472
|
+
"react-jsx/no-key-after-spread": "error",
|
|
473
473
|
"react-jsx/no-namespace": "error"
|
|
474
474
|
};
|
|
475
475
|
const plugins$1 = { "react-jsx": plugin };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "eslint-plugin-react-jsx",
|
|
3
|
-
"version": "4.0
|
|
3
|
+
"version": "4.2.0-beta.0",
|
|
4
4
|
"description": "ESLint React's ESLint plugin for React Flavored JSX rules.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"react",
|
|
@@ -43,11 +43,11 @@
|
|
|
43
43
|
"@typescript-eslint/utils": "^8.57.2",
|
|
44
44
|
"compare-versions": "^6.1.1",
|
|
45
45
|
"ts-pattern": "^5.9.0",
|
|
46
|
-
"@eslint-react/ast": "4.0
|
|
47
|
-
"@eslint-react/core": "4.0
|
|
48
|
-
"@eslint-react/jsx": "4.0
|
|
49
|
-
"@eslint-react/
|
|
50
|
-
"@eslint-react/
|
|
46
|
+
"@eslint-react/ast": "4.2.0-beta.0",
|
|
47
|
+
"@eslint-react/core": "4.2.0-beta.0",
|
|
48
|
+
"@eslint-react/jsx": "4.2.0-beta.0",
|
|
49
|
+
"@eslint-react/shared": "4.2.0-beta.0",
|
|
50
|
+
"@eslint-react/var": "4.2.0-beta.0"
|
|
51
51
|
},
|
|
52
52
|
"devDependencies": {
|
|
53
53
|
"@types/react": "^19.2.14",
|