File tree 1 file changed +1
-3
lines changed
packages/plugins/eslint-plugin/src/configs 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";
5
5
export const name = "@eslint-react/dom" ;
6
6
7
7
export const rules = {
8
- "@eslint-react/dom/no-void-elements-with-children" : "warn" ,
9
8
"@eslint-react/dom/no-dangerously-set-innerhtml" : "warn" ,
10
9
"@eslint-react/dom/no-dangerously-set-innerhtml-with-children" : "error" ,
11
10
"@eslint-react/dom/no-find-dom-node" : "error" ,
@@ -14,10 +13,9 @@ export const rules = {
14
13
"@eslint-react/dom/no-namespace" : "error" ,
15
14
"@eslint-react/dom/no-render-return-value" : "error" ,
16
15
"@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",
19
16
"@eslint-react/dom/no-unsafe-iframe-sandbox" : "warn" ,
20
17
"@eslint-react/dom/no-unsafe-target-blank" : "warn" ,
18
+ "@eslint-react/dom/no-void-elements-with-children" : "warn" ,
21
19
} as const satisfies RulePreset ;
22
20
23
21
export const plugins = {
You can’t perform that action at this time.
0 commit comments