eslint-plugin-react-dom 2.8.3 → 2.8.4-next.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -36,35 +36,6 @@ export default defineConfig(
36
36
  );
37
37
  ```
38
38
 
39
- > [!NOTE]
40
- > DOM rules target `React DOM`-specific concerns including security vulnerabilities, deprecated APIs, and DOM property usage.
41
-
42
- **Security Rules:**
43
-
44
- - [`no-dangerously-set-innerhtml`](./dom-no-dangerously-set-innerhtml) - Disallows `dangerouslySetInnerHTML`
45
- - [`no-dangerously-set-innerhtml-with-children`](./dom-no-dangerously-set-innerhtml-with-children) - Prevents using `dangerouslySetInnerHTML` with `children`
46
- - [`no-script-url`](./dom-no-script-url) - Disallows `javascript:` URLs
47
- - [`no-unsafe-target-blank`](./dom-no-unsafe-target-blank) - Requires `rel="noreferrer noopener"` with `target="_blank"` (🔧 Fixable)
48
- - [`no-missing-iframe-sandbox`](./dom-no-missing-iframe-sandbox) - Enforces `sandbox` attribute on `iframes` (🔧 Fixable)
49
- - [`no-unsafe-iframe-sandbox`](./dom-no-unsafe-iframe-sandbox) - Prevents unsafe `sandbox` combinations
50
-
51
- **Deprecated API Migrations:**
52
-
53
- - [`no-find-dom-node`](./dom-no-find-dom-node) - Disallows `findDOMNode`
54
- - [`no-flush-sync`](./dom-no-flush-sync) - Disallows `flushSync`
55
- - [`no-hydrate`](./dom-no-hydrate) - Replaces `ReactDOM.hydrate()` with `hydrateRoot()` (🔄 Codemod, `React DOM` >=18.0.0)
56
- - [`no-render`](./dom-no-render) - Replaces `ReactDOM.render()` with `createRoot().render()` (🔄 Codemod, `React DOM` >=18.0.0)
57
- - [`no-render-return-value`](./dom-no-render-return-value) - Disallows return value from `ReactDOM.render`
58
- - [`no-use-form-state`](./dom-no-use-form-state) - Replaces `useFormState` with `useActionState` (🔄 Codemod, `React DOM` >=19.0.0)
59
-
60
- **DOM Properties:**
61
-
62
- - [`no-missing-button-type`](./dom-no-missing-button-type) - Enforces explicit `type` on `buttons` (🔧 Fixable)
63
- - [`no-namespace`](./dom-no-namespace) - Prevents namespace usage in `React` elements
64
- - [`no-string-style-prop`](./dom-no-string-style-prop) - Disallows string values for `style` prop
65
- - [`no-unknown-property`](./dom-no-unknown-property) - Disallows unknown `DOM` properties (🔧 Fixable, ⚙️ Configurable)
66
- - [`no-void-elements-with-children`](./dom-no-void-elements-with-children) - Prevents `children` in void elements
67
-
68
39
  ## Rules
69
40
 
70
41
  <https://eslint-react.xyz/docs/rules/overview#dom-rules>
package/dist/index.js CHANGED
@@ -23,7 +23,7 @@ var __exportAll = (all, symbols) => {
23
23
  //#endregion
24
24
  //#region package.json
25
25
  var name$2 = "eslint-plugin-react-dom";
26
- var version = "2.8.3";
26
+ var version = "2.8.4-next.0";
27
27
 
28
28
  //#endregion
29
29
  //#region src/utils/create-jsx-element-resolver.ts
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "eslint-plugin-react-dom",
3
- "version": "2.8.3",
3
+ "version": "2.8.4-next.0",
4
4
  "description": "ESLint React's ESLint plugin for React DOM related rules.",
5
5
  "keywords": [
6
6
  "react",
@@ -43,11 +43,11 @@
43
43
  "@typescript-eslint/utils": "^8.54.0",
44
44
  "compare-versions": "^6.1.1",
45
45
  "ts-pattern": "^5.9.0",
46
- "@eslint-react/ast": "2.8.3",
47
- "@eslint-react/core": "2.8.3",
48
- "@eslint-react/shared": "2.8.3",
49
- "@eslint-react/eff": "2.8.3",
50
- "@eslint-react/var": "2.8.3"
46
+ "@eslint-react/core": "2.8.4-next.0",
47
+ "@eslint-react/eff": "2.8.4-next.0",
48
+ "@eslint-react/ast": "2.8.4-next.0",
49
+ "@eslint-react/shared": "2.8.4-next.0",
50
+ "@eslint-react/var": "2.8.4-next.0"
51
51
  },
52
52
  "devDependencies": {
53
53
  "@types/react": "^19.2.10",