eslint-plugin-react-jsx 5.18.7 → 5.18.9
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 +14 -3
- package/package.json +9 -9
package/dist/index.js
CHANGED
|
@@ -26,7 +26,7 @@ var __exportAll = (all, no_symbols) => {
|
|
|
26
26
|
//#endregion
|
|
27
27
|
//#region package.json
|
|
28
28
|
var name$2 = "eslint-plugin-react-jsx";
|
|
29
|
-
var version = "5.18.
|
|
29
|
+
var version = "5.18.9";
|
|
30
30
|
|
|
31
31
|
//#endregion
|
|
32
32
|
//#region src/utils/create-rule.ts
|
|
@@ -1056,11 +1056,22 @@ const settings = { ...settings$1 };
|
|
|
1056
1056
|
|
|
1057
1057
|
//#endregion
|
|
1058
1058
|
//#region src/index.ts
|
|
1059
|
+
function createConfig(base) {
|
|
1060
|
+
return {
|
|
1061
|
+
...base,
|
|
1062
|
+
plugins: {
|
|
1063
|
+
...base.plugins,
|
|
1064
|
+
get ["react-jsx"]() {
|
|
1065
|
+
return finalPlugin;
|
|
1066
|
+
}
|
|
1067
|
+
}
|
|
1068
|
+
};
|
|
1069
|
+
}
|
|
1059
1070
|
const finalPlugin = {
|
|
1060
1071
|
...plugin,
|
|
1061
1072
|
configs: {
|
|
1062
|
-
["recommended"]: recommended_exports,
|
|
1063
|
-
["strict"]: strict_exports
|
|
1073
|
+
["recommended"]: createConfig(recommended_exports),
|
|
1074
|
+
["strict"]: createConfig(strict_exports)
|
|
1064
1075
|
}
|
|
1065
1076
|
};
|
|
1066
1077
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "eslint-plugin-react-jsx",
|
|
3
|
-
"version": "5.18.
|
|
3
|
+
"version": "5.18.9",
|
|
4
4
|
"description": "ESLint React's ESLint plugin for React Flavored JSX rules.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"react",
|
|
@@ -37,11 +37,11 @@
|
|
|
37
37
|
"dist"
|
|
38
38
|
],
|
|
39
39
|
"dependencies": {
|
|
40
|
-
"@eslint-react/ast": "5.18.
|
|
41
|
-
"@eslint-react/core": "5.18.
|
|
42
|
-
"@eslint-react/eslint": "5.18.
|
|
43
|
-
"@eslint-react/jsx": "5.18.
|
|
44
|
-
"@eslint-react/shared": "5.18.
|
|
40
|
+
"@eslint-react/ast": "5.18.9",
|
|
41
|
+
"@eslint-react/core": "5.18.9",
|
|
42
|
+
"@eslint-react/eslint": "5.18.9",
|
|
43
|
+
"@eslint-react/jsx": "5.18.9",
|
|
44
|
+
"@eslint-react/shared": "5.18.9",
|
|
45
45
|
"@typescript-eslint/types": "^8.69.0",
|
|
46
46
|
"@typescript-eslint/utils": "^8.69.0"
|
|
47
47
|
},
|
|
@@ -49,10 +49,10 @@
|
|
|
49
49
|
"@local/configs": "0.0.0",
|
|
50
50
|
"@local/eff": "0.0.0",
|
|
51
51
|
"@types/react": "^19.2.18",
|
|
52
|
-
"@types/react-dom": "^19.2.
|
|
52
|
+
"@types/react-dom": "^19.2.7",
|
|
53
53
|
"dedent": "^1.7.2",
|
|
54
|
-
"eslint": "^10.
|
|
55
|
-
"tsdown": "^0.
|
|
54
|
+
"eslint": "^10.10.0",
|
|
55
|
+
"tsdown": "^0.23.0",
|
|
56
56
|
"typescript": "6.0.3"
|
|
57
57
|
},
|
|
58
58
|
"peerDependencies": {
|