Skip to content

Commit ebdc2c8

Browse files
committed
refactor: remove dead NATIVE_INTERACTIVE_ELEMENTS set (replaced by isHtmlInteractiveContent)
1 parent d0faebb commit ebdc2c8

1 file changed

Lines changed: 0 additions & 12 deletions

File tree

lib/rules/template-no-nested-interactive.js

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,5 @@
11
const { INTERACTIVE_ROLES, COMPOSITE_WIDGET_CHILDREN } = require('../utils/interactive-roles');
22

3-
const NATIVE_INTERACTIVE_ELEMENTS = new Set([
4-
'button',
5-
'details',
6-
'embed',
7-
'iframe',
8-
'input',
9-
'label',
10-
'select',
11-
'summary',
12-
'textarea',
13-
]);
14-
153
function hasAttr(node, name) {
164
return node.attributes?.some((a) => a.name === name);
175
}

0 commit comments

Comments
 (0)