Skip to content

Commit 17b0cb4

Browse files
committed
fix(template-no-interactive-element-to-noninteractive-role): JSDoc Excludes→Includes, add 'use strict'
1 parent c76e872 commit 17b0cb4

2 files changed

Lines changed: 3 additions & 1 deletion

File tree

lib/rules/template-no-interactive-element-to-noninteractive-role.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
'use strict';
2+
13
const { roles, elementRoles } = require('aria-query');
24
const { AXObjects, elementAXObjects } = require('axobject-query');
35
const { INTERACTIVE_ROLES } = require('../utils/interactive-roles');

lib/utils/is-component-invocation.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
/**
44
* Returns true if the Glimmer element node is a component invocation
5-
* rather than a native HTML element. Excludes:
5+
* rather than a native HTML element. Includes:
66
* - PascalCase tags (<Button>, <MyWidget>)
77
* - Named-arg invocations (<@heading>, <@tag.foo>)
88
* - This-path invocations (<this.myComponent>, <this.comp.sub>)

0 commit comments

Comments
 (0)