eslint-plugin-react-x 2.3.1 → 2.3.2-beta.1

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 +11 -3
  2. package/package.json +6 -6
package/dist/index.js CHANGED
@@ -28,7 +28,7 @@ var __export = (all) => {
28
28
  //#endregion
29
29
  //#region package.json
30
30
  var name$6 = "eslint-plugin-react-x";
31
- var version = "2.3.1";
31
+ var version = "2.3.2-beta.1";
32
32
 
33
33
  //#endregion
34
34
  //#region src/utils/create-rule.ts
@@ -1323,6 +1323,14 @@ var no_forbidden_props_default = createRule({
1323
1323
  meta: {
1324
1324
  type: "problem",
1325
1325
  defaultOptions: [...defaultOptions$1],
1326
+ deprecated: {
1327
+ deprecatedSince: "2.3.2",
1328
+ message: "This rule is deprecated and will be removed in future versions.",
1329
+ replacedBy: [{ rule: {
1330
+ name: "no-restricted-syntax",
1331
+ url: "https://eslint.org/docs/latest/rules/no-restricted-syntax"
1332
+ } }]
1333
+ },
1326
1334
  docs: { description: "Disallow certain props on components." },
1327
1335
  messages: { [messageId]: "Prop \"{{name}}\" is forbidden." },
1328
1336
  schema: [{
@@ -3553,7 +3561,6 @@ const plugin = {
3553
3561
  "no-default-props": no_default_props_default,
3554
3562
  "no-direct-mutation-state": no_direct_mutation_state_default,
3555
3563
  "no-duplicate-key": no_duplicate_key_default,
3556
- "no-forbidden-props": no_forbidden_props_default,
3557
3564
  "no-forward-ref": no_forward_ref_default,
3558
3565
  "no-implicit-key": no_implicit_key_default,
3559
3566
  "no-leaked-conditional-rendering": no_leaked_conditional_rendering_default,
@@ -3587,7 +3594,8 @@ const plugin = {
3587
3594
  "prefer-destructuring-assignment": prefer_destructuring_assignment_default,
3588
3595
  "prefer-namespace-import": prefer_namespace_import_default,
3589
3596
  "prefer-read-only-props": prefer_read_only_props_default,
3590
- "prefer-use-state-lazy-initialization": prefer_use_state_lazy_initialization_default
3597
+ "prefer-use-state-lazy-initialization": prefer_use_state_lazy_initialization_default,
3598
+ "no-forbidden-props": no_forbidden_props_default
3591
3599
  }
3592
3600
  };
3593
3601
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "eslint-plugin-react-x",
3
- "version": "2.3.1",
3
+ "version": "2.3.2-beta.1",
4
4
  "description": "A set of composable ESLint rules for for libraries and frameworks that use React as a UI runtime.",
5
5
  "keywords": [
6
6
  "react",
@@ -46,11 +46,11 @@
46
46
  "string-ts": "^2.2.1",
47
47
  "ts-api-utils": "^2.1.0",
48
48
  "ts-pattern": "^5.9.0",
49
- "@eslint-react/ast": "2.3.1",
50
- "@eslint-react/core": "2.3.1",
51
- "@eslint-react/eff": "2.3.1",
52
- "@eslint-react/shared": "2.3.1",
53
- "@eslint-react/var": "2.3.1"
49
+ "@eslint-react/ast": "2.3.2-beta.1",
50
+ "@eslint-react/core": "2.3.2-beta.1",
51
+ "@eslint-react/shared": "2.3.2-beta.1",
52
+ "@eslint-react/eff": "2.3.2-beta.1",
53
+ "@eslint-react/var": "2.3.2-beta.1"
54
54
  },
55
55
  "devDependencies": {
56
56
  "@types/react": "^19.2.2",