Skip to content

Commit 1fdcd57

Browse files
Rel1cxCopilot
andauthored
Update packages/plugins/eslint-plugin-react-dom/src/utils/create-jsx-element-resolver.ts
Co-authored-by: Copilot <[email protected]> Signed-off-by: REL1CX <[email protected]>
1 parent a567e9b commit 1fdcd57

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

packages/plugins/eslint-plugin-react-dom/src/utils/create-jsx-element-resolver.ts

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -29,10 +29,6 @@ export function createJsxElementResolver(context: RuleContext) {
2929
// Get the element name/type (e.g., 'div', 'Button', etc.)
3030
const elementName = ER.getElementType(context, node);
3131

32-
// // Find if there's a matching component defined in settings
33-
// const matchingComponent = components
34-
// .findLast((component) => component.name === elementName || component.re.test(elementName));
35-
3632
// Create the base result with element types
3733
const result = {
3834
domElementType: elementName,

0 commit comments

Comments
 (0)