File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
packages/plugins/eslint-plugin-react-dom Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -50,7 +50,7 @@ export default [
5050
5151| Rule | Description | 💼 | 💭 | |
5252| :------------------------------------------- | :-------------------------------------------------------------------------------------- | :-: | :-: | :-: |
53- | ` no-children-in-void-dom-elements ` | Prevents the use of ` children ` in void ` DOM elements ` . | ✔️ | | |
53+ | ` no-children-in-void-dom-elements ` | Prevents usage of ` children ` in void ` DOM elements ` . | ✔️ | | |
5454| ` no-dangerously-set-innerhtml-with-children ` | Prevents ` DOM element ` using ` dangerouslySetInnerHTML ` and ` children ` at the same time. | ✔️ | | |
5555| ` no-dangerously-set-innerhtml ` | Prevents ` DOM element ` using ` dangerouslySetInnerHTML ` . | 🔒 | | |
5656| ` no-find-dom-node ` | Prevents usage of ` findDOMNode ` . | ⛔ | | |
@@ -61,4 +61,4 @@ export default [
6161| ` no-script-url ` | Prevents usage of ` javascript: ` URLs as the value of certain attributes. | 🔒 | | |
6262| ` no-unknown-property ` | Prevents usage of unknown DOM property. | ✔️ | | |
6363| ` no-unsafe-iframe-sandbox ` | Enforces ` sandbox ` attribute for ` iframe ` elements is not set to unsafe combinations. | 🔒 | | |
64- | ` no-unsafe-target-blank ` | Prevents the use of ` target="_blank" ` without ` rel="noreferrer noopener" ` . | 🔒 | | |
64+ | ` no-unsafe-target-blank ` | Prevents usage of ` target="_blank" ` without ` rel="noreferrer noopener" ` . | 🔒 | | |
Original file line number Diff line number Diff line change 6565
6666| Rule | Description |
6767| :------------------------------------------- | :-------------------------------------------------------------------------------------- |
68- | ` no-children-in-void-dom-elements ` | Prevents the use of ` children ` in void ` DOM elements ` . |
68+ | ` no-children-in-void-dom-elements ` | Prevents usage of ` children ` in void ` DOM elements ` . |
6969| ` no-dangerously-set-innerhtml ` | Prevents ` DOM element ` using ` dangerouslySetInnerHTML ` . |
7070| ` no-dangerously-set-innerhtml-with-children ` | Prevents ` DOM element ` using ` dangerouslySetInnerHTML ` and ` children ` at the same time. |
7171| ` no-find-dom-node ` | Prevents usage of ` findDOMNode ` . |
7575| ` no-render-return-value ` | Prevents usage of the return value of ` ReactDOM.render ` . |
7676| ` no-script-url ` | Prevents usage of ` javascript: ` URLs as the value of certain attributes. |
7777| ` no-unsafe-iframe-sandbox ` | Enforces ` sandbox ` attribute for ` iframe ` elements is not set to unsafe combinations. |
78- | ` no-unsafe-target-blank ` | Prevents the use of ` target="_blank" ` without ` rel="noreferrer noopener" ` . |
78+ | ` no-unsafe-target-blank ` | Prevents usage of ` target="_blank" ` without ` rel="noreferrer noopener" ` . |
7979
8080### Rules in ` eslint-plugin-react-web-api `
8181
You can’t perform that action at this time.
0 commit comments