eslint-plugin-react-dom 2.0.0-next.171 → 2.0.0-next.173
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 +2 -1
- package/package.json +7 -7
package/dist/index.js
CHANGED
|
@@ -46,7 +46,7 @@ const settings = { "react-x": DEFAULT_ESLINT_REACT_SETTINGS };
|
|
|
46
46
|
//#endregion
|
|
47
47
|
//#region package.json
|
|
48
48
|
var name = "eslint-plugin-react-dom";
|
|
49
|
-
var version = "2.0.0-next.
|
|
49
|
+
var version = "2.0.0-next.173";
|
|
50
50
|
|
|
51
51
|
//#endregion
|
|
52
52
|
//#region src/utils/create-jsx-element-resolver.ts
|
|
@@ -654,6 +654,7 @@ var no_string_style_prop_default = createRule({
|
|
|
654
654
|
});
|
|
655
655
|
function create$5(context) {
|
|
656
656
|
return { JSXElement(node) {
|
|
657
|
+
if (!ER.isHostElement(context, node)) return;
|
|
657
658
|
const getAttribute = ER.getAttribute(context, node.openingElement.attributes, context.sourceCode.getScope(node));
|
|
658
659
|
const attribute = getAttribute("style");
|
|
659
660
|
if (attribute == null) return;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "eslint-plugin-react-dom",
|
|
3
|
-
"version": "2.0.0-next.
|
|
3
|
+
"version": "2.0.0-next.173",
|
|
4
4
|
"description": "ESLint React's ESLint plugin for React DOM related rules.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"react",
|
|
@@ -41,12 +41,12 @@
|
|
|
41
41
|
"compare-versions": "^6.1.1",
|
|
42
42
|
"string-ts": "^2.2.1",
|
|
43
43
|
"ts-pattern": "^5.8.0",
|
|
44
|
-
"@eslint-react/ast": "2.0.0-next.
|
|
45
|
-
"@eslint-react/core": "2.0.0-next.
|
|
46
|
-
"@eslint-react/
|
|
47
|
-
"@eslint-react/
|
|
48
|
-
"@eslint-react/
|
|
49
|
-
"@eslint-react/
|
|
44
|
+
"@eslint-react/ast": "2.0.0-next.173",
|
|
45
|
+
"@eslint-react/core": "2.0.0-next.173",
|
|
46
|
+
"@eslint-react/kit": "2.0.0-next.173",
|
|
47
|
+
"@eslint-react/shared": "2.0.0-next.173",
|
|
48
|
+
"@eslint-react/var": "2.0.0-next.173",
|
|
49
|
+
"@eslint-react/eff": "2.0.0-next.173"
|
|
50
50
|
},
|
|
51
51
|
"devDependencies": {
|
|
52
52
|
"@types/react": "^19.1.12",
|