eslint-plugin-react-x 2.3.1 → 2.3.2-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 +4 -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.0";
32
32
 
33
33
  //#endregion
34
34
  //#region src/utils/create-rule.ts
@@ -1323,6 +1323,7 @@ var no_forbidden_props_default = createRule({
1323
1323
  meta: {
1324
1324
  type: "problem",
1325
1325
  defaultOptions: [...defaultOptions$1],
1326
+ deprecated: true,
1326
1327
  docs: { description: "Disallow certain props on components." },
1327
1328
  messages: { [messageId]: "Prop \"{{name}}\" is forbidden." },
1328
1329
  schema: [{
@@ -3553,7 +3554,6 @@ const plugin = {
3553
3554
  "no-default-props": no_default_props_default,
3554
3555
  "no-direct-mutation-state": no_direct_mutation_state_default,
3555
3556
  "no-duplicate-key": no_duplicate_key_default,
3556
- "no-forbidden-props": no_forbidden_props_default,
3557
3557
  "no-forward-ref": no_forward_ref_default,
3558
3558
  "no-implicit-key": no_implicit_key_default,
3559
3559
  "no-leaked-conditional-rendering": no_leaked_conditional_rendering_default,
@@ -3587,7 +3587,8 @@ const plugin = {
3587
3587
  "prefer-destructuring-assignment": prefer_destructuring_assignment_default,
3588
3588
  "prefer-namespace-import": prefer_namespace_import_default,
3589
3589
  "prefer-read-only-props": prefer_read_only_props_default,
3590
- "prefer-use-state-lazy-initialization": prefer_use_state_lazy_initialization_default
3590
+ "prefer-use-state-lazy-initialization": prefer_use_state_lazy_initialization_default,
3591
+ "no-forbidden-props": no_forbidden_props_default
3591
3592
  }
3592
3593
  };
3593
3594
 
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.0",
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.0",
50
+ "@eslint-react/eff": "2.3.2-beta.0",
51
+ "@eslint-react/shared": "2.3.2-beta.0",
52
+ "@eslint-react/core": "2.3.2-beta.0",
53
+ "@eslint-react/var": "2.3.2-beta.0"
54
54
  },
55
55
  "devDependencies": {
56
56
  "@types/react": "^19.2.2",