Skip to content

Commit fc60e7b

Browse files
Rel1cxCopilot
andauthored
Update packages/plugins/eslint-plugin-react-x/src/rules/no-missing-component-display-name.ts
Co-authored-by: Copilot <[email protected]> Signed-off-by: REL1CX <[email protected]>
1 parent 415293b commit fc60e7b

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

packages/plugins/eslint-plugin-react-x/src/rules/no-missing-component-display-name.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,6 @@ export function create(context: RuleContext<MessageID, []>): RuleListener {
4343
...listeners,
4444
"Program:exit"(program) {
4545
for (const { node, displayName, flag } of ctx.getAllComponents(program)) {
46-
console.log(context.sourceCode.getText(node));
4746
const id = AST.getFunctionId(node);
4847
// Check if the component is wrapped with `forwardRef` or `memo`
4948
const isMemoOrForwardRef = (flag & (ComponentFlag.ForwardRef | ComponentFlag.Memo)) > 0n;

0 commit comments

Comments
 (0)