Skip to content

Commit e7e6280

Browse files
committed
docs: update docs
1 parent 15c16d0 commit e7e6280

File tree

10 files changed

+17
-17
lines changed

10 files changed

+17
-17
lines changed

packages/plugins/eslint-plugin-react-dom/src/rules/no-dangerously-set-innerhtml-with-children.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# react/no-dangerously-set-innerhtml-with-children
1+
# react-dom/no-dangerously-set-innerhtml-with-children
22

33
## Rule category
44

packages/plugins/eslint-plugin-react-dom/src/rules/no-dangerously-set-innerhtml.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# react/no-dangerously-set-innerhtml
1+
# react-dom/no-dangerously-set-innerhtml
22

33
## Rule category
44

packages/plugins/eslint-plugin-react-dom/src/rules/no-find-dom-node.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# react/no-find-dom-node
1+
# react-dom/no-find-dom-node
22

33
## Rule category
44

packages/plugins/eslint-plugin-react-dom/src/rules/no-missing-button-type.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# react/no-missing-button-type
1+
# react-dom/no-missing-button-type
22

33
## Rule category
44

packages/plugins/eslint-plugin-react-dom/src/rules/no-missing-iframe-sandbox.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# react/no-missing-iframe-sandbox
1+
# react-dom/no-missing-iframe-sandbox
22

33
## Rule category
44

packages/plugins/eslint-plugin-react-dom/src/rules/no-script-url.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# react/no-script-url
1+
# react-dom/no-script-url
22

33
## Rule category
44

packages/plugins/eslint-plugin-react-dom/src/rules/no-unsafe-iframe-sandbox.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# react/no-unsafe-iframe-sandbox
1+
# react-dom/no-unsafe-iframe-sandbox
22

33
## Rule category
44

packages/plugins/eslint-plugin-react-dom/src/rules/no-unsafe-target-blank.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# react/no-unsafe-target-blank
1+
# react-dom/no-unsafe-target-blank
22

33
## Rule category
44

scripts/update-website.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import path from "path";
44
import { copyFile } from "./lib/fs";
55

66
const docs = new Bun.Glob("packages/plugins/eslint-plugin-*/src/rules/*.md").scanSync();
7-
const order = ["jsx", "react", "react-hooks", "naming-convention", "debug"] as const;
7+
const order = ["jsx", "react", "react-dom", "react-hooks", "naming-convention", "debug"] as const;
88
const [
99
files,
1010
rules,

website/pages/rules/_meta.json

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -14,14 +14,6 @@
1414
"jsx-no-useless-fragment": "jsx/no-useless-fragment",
1515
"jsx-prefer-shorthand-boolean": "jsx/prefer-shorthand-boolean",
1616
"jsx-prefer-shorthand-fragment": "jsx/prefer-shorthand-fragment",
17-
"react-dom-no-dangerously-set-innerhtml": "react-dom/no-dangerously-set-innerhtml",
18-
"react-dom-no-dangerously-set-innerhtml-with-children": "react-dom/no-dangerously-set-innerhtml-with-children",
19-
"react-dom-no-find-dom-node": "react-dom/no-find-dom-node",
20-
"react-dom-no-missing-button-type": "react-dom/no-missing-button-type",
21-
"react-dom-no-missing-iframe-sandbox": "react-dom/no-missing-iframe-sandbox",
22-
"react-dom-no-script-url": "react-dom/no-script-url",
23-
"react-dom-no-unsafe-iframe-sandbox": "react-dom/no-unsafe-iframe-sandbox",
24-
"react-dom-no-unsafe-target-blank": "react-dom/no-unsafe-target-blank",
2517
"react-ensure-forward-ref-using-ref": "react/ensure-forward-ref-using-ref",
2618
"react-no-access-state-in-setstate": "react/no-access-state-in-setstate",
2719
"react-no-children-count": "react/no-children-count",
@@ -55,6 +47,14 @@
5547
"react-no-unused-class-component-members": "react/no-unused-class-component-members",
5648
"react-no-unused-state": "react/no-unused-state",
5749
"react-prefer-destructuring-assignment": "react/prefer-destructuring-assignment",
50+
"react-dom-no-dangerously-set-innerhtml": "react-dom/no-dangerously-set-innerhtml",
51+
"react-dom-no-dangerously-set-innerhtml-with-children": "react-dom/no-dangerously-set-innerhtml-with-children",
52+
"react-dom-no-find-dom-node": "react-dom/no-find-dom-node",
53+
"react-dom-no-missing-button-type": "react-dom/no-missing-button-type",
54+
"react-dom-no-missing-iframe-sandbox": "react-dom/no-missing-iframe-sandbox",
55+
"react-dom-no-script-url": "react-dom/no-script-url",
56+
"react-dom-no-unsafe-iframe-sandbox": "react-dom/no-unsafe-iframe-sandbox",
57+
"react-dom-no-unsafe-target-blank": "react-dom/no-unsafe-target-blank",
5858
"react-hooks-ensure-custom-hooks-using-other-hooks": "react-hooks/ensure-custom-hooks-using-other-hooks",
5959
"react-hooks-ensure-use-callback-has-non-empty-deps": "react-hooks/ensure-use-callback-has-non-empty-deps",
6060
"react-hooks-ensure-use-memo-has-non-empty-deps": "react-hooks/ensure-use-memo-has-non-empty-deps",

0 commit comments

Comments
 (0)