Skip to content

Commit 05bf6a1

Browse files
committed
chore: remove unneeded TODOs in tests
1 parent c088164 commit 05bf6a1

File tree

1 file changed

+0
-20
lines changed

1 file changed

+0
-20
lines changed

packages/plugins/eslint-plugin-react-x/src/rules/no-context-provider.spec.ts

Lines changed: 0 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -101,26 +101,6 @@ ruleTester.run(RULE_NAME, rule, {
101101
},
102102
},
103103
},
104-
// TODO: Evaluate the necessity of supporting this kind of usage
105-
// {
106-
// code: tsx`
107-
// const Provider = Context.Provider;
108-
109-
// function Component() {
110-
// return <Provider>hello world</Provider>;
111-
// }
112-
// `,
113-
// errors: [
114-
// {
115-
// messageId: "noContextProvider",
116-
// },
117-
// ],
118-
// settings: {
119-
// "react-x": {
120-
// version: "19.0.0",
121-
// },
122-
// },
123-
// },
124104
],
125105
valid: [
126106
{

0 commit comments

Comments
 (0)