eslint-plugin-react-dom 1.19.0 → 1.20.0-beta.2

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
@@ -48,17 +48,17 @@ export default [
48
48
 
49
49
  ## Rules
50
50
 
51
- | Rule | Description | 💼 | 💭 | |
52
- | :------------------------------------------- | :-------------------------------------------------------------------------------------- | :-: | :-: | :-: |
53
- | `no-children-in-void-dom-elements` | Prevents usage of `children` in void `DOM elements`. | ✔️ | | |
54
- | `no-dangerously-set-innerhtml-with-children` | Prevents `DOM element` using `dangerouslySetInnerHTML` and `children` at the same time. | ✔️ | | |
55
- | `no-dangerously-set-innerhtml` | Prevents `DOM element` using `dangerouslySetInnerHTML`. | 🔒 | | |
56
- | `no-find-dom-node` | Prevents usage of `findDOMNode`. | ⛔ | | |
57
- | `no-missing-button-type` | Enforces explicit `type` attribute for `<button>` elements. | ✔️ | | |
58
- | `no-missing-iframe-sandbox` | Enforces explicit `sandbox` attribute for `iframe` elements. | 🔒 | | |
59
- | `no-namespace` | Enforces the absence of a `namespace` in React elements. | ✔️ | | |
60
- | `no-render-return-value` | Prevents usage of the return value of `ReactDOM.render`. | ⛔ | | |
61
- | `no-script-url` | Prevents usage of `javascript:` URLs as the value of certain attributes. | 🔒 | | |
62
- | `no-unknown-property` | Prevents usage of unknown DOM property. | ✔️ | | 🔧 |
63
- | `no-unsafe-iframe-sandbox` | Enforces `sandbox` attribute for `iframe` elements is not set to unsafe combinations. | 🔒 | | |
64
- | `no-unsafe-target-blank` | Prevents usage of `target="_blank"` without `rel="noreferrer noopener"`. | 🔒 | | |
51
+ | Rule | Description | 💭 | |
52
+ | :------------------------------------------- | :-------------------------------------------------------------------------------------- | :-: | :-: |
53
+ | `no-children-in-void-dom-elements` | Prevents usage of `children` in void `DOM elements`. | | |
54
+ | `no-dangerously-set-innerhtml-with-children` | Prevents `DOM element` using `dangerouslySetInnerHTML` and `children` at the same time. | | |
55
+ | `no-dangerously-set-innerhtml` | Prevents `DOM element` using `dangerouslySetInnerHTML`. | | |
56
+ | `no-find-dom-node` | Prevents usage of `findDOMNode`. | | |
57
+ | `no-missing-button-type` | Enforces explicit `type` attribute for `<button>` elements. | | |
58
+ | `no-missing-iframe-sandbox` | Enforces explicit `sandbox` attribute for `iframe` elements. | | |
59
+ | `no-namespace` | Enforces the absence of a `namespace` in React elements. | | |
60
+ | `no-render-return-value` | Prevents usage of the return value of `ReactDOM.render`. | | |
61
+ | `no-script-url` | Prevents usage of `javascript:` URLs as the value of certain attributes. | | |
62
+ | `no-unknown-property` | Prevents usage of unknown DOM property. | | 🔧 |
63
+ | `no-unsafe-iframe-sandbox` | Enforces `sandbox` attribute for `iframe` elements is not set to unsafe combinations. | | |
64
+ | `no-unsafe-target-blank` | Prevents usage of `target="_blank"` without `rel="noreferrer noopener"`. | | |
package/dist/index.js CHANGED
@@ -32,7 +32,7 @@ var AST__namespace = /*#__PURE__*/_interopNamespace(AST);
32
32
 
33
33
  // package.json
34
34
  var name = "eslint-plugin-react-dom";
35
- var version = "1.19.0";
35
+ var version = "1.20.0-beta.2";
36
36
  var createRule = shared.createRuleForPlugin("dom");
37
37
  function findAttrInCustomAttributes(name2, attributes) {
38
38
  return tools.F.pipe(
package/dist/index.mjs CHANGED
@@ -9,7 +9,7 @@ import { match, P } from 'ts-pattern';
9
9
 
10
10
  // package.json
11
11
  var name = "eslint-plugin-react-dom";
12
- var version = "1.19.0";
12
+ var version = "1.20.0-beta.2";
13
13
  var createRule = createRuleForPlugin("dom");
14
14
  function findAttrInCustomAttributes(name2, attributes) {
15
15
  return F.pipe(
package/package.json CHANGED
@@ -1,13 +1,14 @@
1
1
  {
2
2
  "name": "eslint-plugin-react-dom",
3
- "version": "1.19.0",
3
+ "version": "1.20.0-beta.2",
4
4
  "description": "ESLint React's ESLint plugin for React DOM related rules.",
5
5
  "keywords": [
6
+ "react",
7
+ "dom",
6
8
  "eslint",
9
+ "eslint-react",
7
10
  "eslint-plugin",
8
- "react-dom",
9
- "react",
10
- "dom"
11
+ "eslint-plugin-react-dom"
11
12
  ],
12
13
  "homepage": "https://github.com/rel1cx/eslint-react",
13
14
  "bugs": {
@@ -47,13 +48,13 @@
47
48
  "@typescript-eslint/utils": "^8.18.0",
48
49
  "compare-versions": "^6.1.1",
49
50
  "ts-pattern": "^5.5.0",
50
- "@eslint-react/core": "1.19.0",
51
- "@eslint-react/shared": "1.19.0",
52
- "@eslint-react/tools": "1.19.0",
53
- "@eslint-react/var": "1.19.0",
54
- "@eslint-react/types": "1.19.0",
55
- "@eslint-react/jsx": "1.19.0",
56
- "@eslint-react/ast": "1.19.0"
51
+ "@eslint-react/ast": "1.20.0-beta.2",
52
+ "@eslint-react/core": "1.20.0-beta.2",
53
+ "@eslint-react/jsx": "1.20.0-beta.2",
54
+ "@eslint-react/tools": "1.20.0-beta.2",
55
+ "@eslint-react/var": "1.20.0-beta.2",
56
+ "@eslint-react/shared": "1.20.0-beta.2",
57
+ "@eslint-react/types": "1.20.0-beta.2"
57
58
  },
58
59
  "devDependencies": {
59
60
  "@types/react": "^19.0.1",