eslint-plugin-react-dom 1.26.3-beta.16 → 1.26.3-beta.19

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/dist/index.d.mts CHANGED
@@ -5,7 +5,7 @@ declare const _default: {
5
5
  configs: {
6
6
  recommended: {
7
7
  plugins: {
8
- "react-x": {
8
+ "react-dom": {
9
9
  readonly meta: {
10
10
  readonly name: string;
11
11
  readonly version: string;
package/dist/index.d.ts CHANGED
@@ -5,7 +5,7 @@ declare const _default: {
5
5
  configs: {
6
6
  recommended: {
7
7
  plugins: {
8
- "react-x": {
8
+ "react-dom": {
9
9
  readonly meta: {
10
10
  readonly name: string;
11
11
  readonly version: string;
package/dist/index.js CHANGED
@@ -62,7 +62,7 @@ var settings = {
62
62
 
63
63
  // package.json
64
64
  var name2 = "eslint-plugin-react-dom";
65
- var version = "1.26.3-beta.16";
65
+ var version = "1.26.3-beta.19";
66
66
  var createRule = shared.createRuleForPlugin("dom");
67
67
 
68
68
  // src/utils/find-custom-component.ts
@@ -1777,14 +1777,14 @@ function makeConfig(config) {
1777
1777
  return {
1778
1778
  ...config,
1779
1779
  plugins: {
1780
- "react-x": plugin
1780
+ "react-dom": plugin
1781
1781
  }
1782
1782
  };
1783
1783
  }
1784
- function makeLegacyConfig(config) {
1784
+ function makeLegacyConfig({ rules: rules2 }) {
1785
1785
  return {
1786
- plugins: ["react-x"],
1787
- rules: config.rules
1786
+ plugins: ["react-dom"],
1787
+ rules: rules2
1788
1788
  };
1789
1789
  }
1790
1790
  var index_default = {
package/dist/index.mjs CHANGED
@@ -39,7 +39,7 @@ var settings = {
39
39
 
40
40
  // package.json
41
41
  var name2 = "eslint-plugin-react-dom";
42
- var version = "1.26.3-beta.16";
42
+ var version = "1.26.3-beta.19";
43
43
  var createRule = createRuleForPlugin("dom");
44
44
 
45
45
  // src/utils/find-custom-component.ts
@@ -1754,14 +1754,14 @@ function makeConfig(config) {
1754
1754
  return {
1755
1755
  ...config,
1756
1756
  plugins: {
1757
- "react-x": plugin
1757
+ "react-dom": plugin
1758
1758
  }
1759
1759
  };
1760
1760
  }
1761
- function makeLegacyConfig(config) {
1761
+ function makeLegacyConfig({ rules: rules2 }) {
1762
1762
  return {
1763
- plugins: ["react-x"],
1764
- rules: config.rules
1763
+ plugins: ["react-dom"],
1764
+ rules: rules2
1765
1765
  };
1766
1766
  }
1767
1767
  var index_default = {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "eslint-plugin-react-dom",
3
- "version": "1.26.3-beta.16",
3
+ "version": "1.26.3-beta.19",
4
4
  "description": "ESLint React's ESLint plugin for React DOM related rules.",
5
5
  "keywords": [
6
6
  "react",
@@ -49,12 +49,12 @@
49
49
  "compare-versions": "^6.1.1",
50
50
  "string-ts": "^2.2.1",
51
51
  "ts-pattern": "^5.6.2",
52
- "@eslint-react/ast": "1.26.3-beta.16",
53
- "@eslint-react/core": "1.26.3-beta.16",
54
- "@eslint-react/eff": "1.26.3-beta.16",
55
- "@eslint-react/jsx": "1.26.3-beta.16",
56
- "@eslint-react/shared": "1.26.3-beta.16",
57
- "@eslint-react/var": "1.26.3-beta.16"
52
+ "@eslint-react/ast": "1.26.3-beta.19",
53
+ "@eslint-react/core": "1.26.3-beta.19",
54
+ "@eslint-react/eff": "1.26.3-beta.19",
55
+ "@eslint-react/jsx": "1.26.3-beta.19",
56
+ "@eslint-react/var": "1.26.3-beta.19",
57
+ "@eslint-react/shared": "1.26.3-beta.19"
58
58
  },
59
59
  "devDependencies": {
60
60
  "@types/react": "^19.0.10",
@@ -84,6 +84,6 @@
84
84
  "scripts": {
85
85
  "build": "tsup --dts-resolve",
86
86
  "lint:publish": "publint",
87
- "lint:type": "tsc --noEmit"
87
+ "lint:ts": "tsc --noEmit"
88
88
  }
89
89
  }