File tree Expand file tree Collapse file tree 1 file changed +1
-3
lines changed
packages/plugins/eslint-plugin/src/configs Expand file tree Collapse file tree 1 file changed +1
-3
lines changed Original file line number Diff line number Diff line change @@ -5,7 +5,6 @@ import reactDom from "eslint-plugin-react-dom";
55export const name = "@eslint-react/dom" ;
66
77export const rules = {
8- "@eslint-react/dom/no-void-elements-with-children" : "warn" ,
98 "@eslint-react/dom/no-dangerously-set-innerhtml" : "warn" ,
109 "@eslint-react/dom/no-dangerously-set-innerhtml-with-children" : "error" ,
1110 "@eslint-react/dom/no-find-dom-node" : "error" ,
@@ -14,10 +13,9 @@ export const rules = {
1413 "@eslint-react/dom/no-namespace" : "error" ,
1514 "@eslint-react/dom/no-render-return-value" : "error" ,
1615 "@eslint-react/dom/no-script-url" : "warn" ,
17- // TODO: Re-enable when the rule is refactored to use the data from the `@types/react` package
18- // "@eslint-react/dom/no-unknown-property": "warn",
1916 "@eslint-react/dom/no-unsafe-iframe-sandbox" : "warn" ,
2017 "@eslint-react/dom/no-unsafe-target-blank" : "warn" ,
18+ "@eslint-react/dom/no-void-elements-with-children" : "warn" ,
2119} as const satisfies RulePreset ;
2220
2321export const plugins = {
You can’t perform that action at this time.
0 commit comments