Skip to content

Commit b75cc64

Browse files
committed
docs: set react-x/no-misused-capture-owner-stack rule to experimental
1 parent 4b47cf0 commit b75cc64

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

apps/website/content/docs/rules/overview.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ Linter rules can have false positives, false negatives, and some rules are depen
5555
| [`no-missing-component-display-name`](./no-missing-component-display-name) | 0️⃣ | | Enforces that all components have a `displayName` which can be used in devtools | |
5656
| [`no-missing-context-display-name`](./no-missing-context-display-name) | 0️⃣ | | Enforces that all contexts have a `displayName` which can be used in devtools | |
5757
| [`no-missing-key`](./no-missing-key) | 2️⃣ | | Disallow missing `key` on items in list rendering | |
58-
| [`no-misused-capture-owner-stack`](./no-misused-capture-owner-stack) | 2️⃣ | | Prevents incorrect usage of `captureOwnerStack` | |
58+
| [`no-misused-capture-owner-stack`](./no-misused-capture-owner-stack) | 0️⃣ | `🧪` | Prevents incorrect usage of `captureOwnerStack` | |
5959
| [`no-nested-component-definitions`](./no-nested-component-definitions) | 2️⃣ | | Disallow nesting component definitions inside other components | |
6060
| [`no-prop-types`](./no-prop-types) | 2️⃣ | | Disallow `propTypes` in favor of TypeScript or another type-checking solution | |
6161
| [`no-redundant-should-component-update`](./no-redundant-should-component-update) | 2️⃣ | | Disallow `shouldComponentUpdate` when extending `React.PureComponent` | |

packages/plugins/eslint-plugin-react-x/src/rules/no-misused-capture-owner-stack.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,9 @@ import { createRule } from "../utils";
99

1010
export const RULE_NAME = "no-misused-capture-owner-stack";
1111

12-
export const RULE_FEATURES = [] as const satisfies RuleFeature[];
12+
export const RULE_FEATURES = [
13+
"EXP",
14+
] as const satisfies RuleFeature[];
1315

1416
export type MessageID =
1517
| "useNamespaceImport"

0 commit comments

Comments
 (0)