Skip to content

Commit dd91abd

Browse files
committed
chore: remove needless comments
1 parent b338cab commit dd91abd

File tree

1 file changed

+1
-3
lines changed
  • packages/plugins/eslint-plugin/src/configs

1 file changed

+1
-3
lines changed

packages/plugins/eslint-plugin/src/configs/dom.ts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@ import reactDom from "eslint-plugin-react-dom";
55
export const name = "@eslint-react/dom";
66

77
export 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

2321
export const plugins = {

0 commit comments

Comments
 (0)