eslint-plugin-react-dom 2.5.3 → 2.5.4-beta.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.
Files changed (2) hide show
  1. package/dist/index.js +5 -5
  2. package/package.json +6 -6
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.5.3";
26
+ var version = "2.5.4-beta.0";
27
27
 
28
28
  //#endregion
29
29
  //#region src/utils/create-jsx-element-resolver.ts
@@ -99,7 +99,7 @@ const RULE_NAME$16 = "no-dangerously-set-innerhtml-with-children";
99
99
  var no_dangerously_set_innerhtml_with_children_default = createRule({
100
100
  meta: {
101
101
  type: "problem",
102
- docs: { description: "Disallows 'dangerouslySetInnerHTML' and 'children' at the same time." },
102
+ docs: { description: "Disallows DOM elements from using `children` and `dangerouslySetInnerHTML` at the same time." },
103
103
  messages: { noDangerouslySetInnerhtmlWithChildren: "A DOM component cannot use both children and 'dangerouslySetInnerHTML'." },
104
104
  schema: []
105
105
  },
@@ -279,7 +279,7 @@ const BUTTON_TYPES = [
279
279
  var no_missing_button_type_default = createRule({
280
280
  meta: {
281
281
  type: "problem",
282
- docs: { description: "Enforces explicit 'type' attribute for 'button' elements." },
282
+ docs: { description: "Enforces an explicit 'type' attribute for 'button' elements." },
283
283
  hasSuggestions: true,
284
284
  messages: {
285
285
  addButtonType: "Add 'type' attribute with value '{{type}}'.",
@@ -314,7 +314,7 @@ const RULE_NAME$11 = "no-missing-iframe-sandbox";
314
314
  var no_missing_iframe_sandbox_default = createRule({
315
315
  meta: {
316
316
  type: "problem",
317
- docs: { description: "Enforces explicit 'sandbox' attribute for 'iframe' elements." },
317
+ docs: { description: "Enforces an explicit 'sandbox' attribute for 'iframe' elements." },
318
318
  fixable: "code",
319
319
  hasSuggestions: true,
320
320
  messages: {
@@ -1603,7 +1603,7 @@ const messages = {
1603
1603
  var no_unknown_property_default = createRule({
1604
1604
  meta: {
1605
1605
  type: "problem",
1606
- docs: { description: "Disallows unknown 'DOM' property." },
1606
+ docs: { description: "Disallows unknown 'DOM' properties." },
1607
1607
  fixable: "code",
1608
1608
  messages,
1609
1609
  schema: [{
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "eslint-plugin-react-dom",
3
- "version": "2.5.3",
3
+ "version": "2.5.4-beta.0",
4
4
  "description": "ESLint React's ESLint plugin for React DOM related rules.",
5
5
  "keywords": [
6
6
  "react",
@@ -44,11 +44,11 @@
44
44
  "compare-versions": "^6.1.1",
45
45
  "string-ts": "^2.3.1",
46
46
  "ts-pattern": "^5.9.0",
47
- "@eslint-react/ast": "2.5.3",
48
- "@eslint-react/core": "2.5.3",
49
- "@eslint-react/eff": "2.5.3",
50
- "@eslint-react/shared": "2.5.3",
51
- "@eslint-react/var": "2.5.3"
47
+ "@eslint-react/ast": "2.5.4-beta.0",
48
+ "@eslint-react/core": "2.5.4-beta.0",
49
+ "@eslint-react/eff": "2.5.4-beta.0",
50
+ "@eslint-react/shared": "2.5.4-beta.0",
51
+ "@eslint-react/var": "2.5.4-beta.0"
52
52
  },
53
53
  "devDependencies": {
54
54
  "@types/react": "^19.2.7",