Skip to content

Commit 87f889c

Browse files
committed
chore(rules): add 'use strict' header to no-nested-interactive and no-invalid-interactive (Copilot review)
Match the convention used throughout the plugin's CommonJS rule files. The header was missing on these two; add it for consistency with sibling rules.
1 parent ab3e35e commit 87f889c

3 files changed

Lines changed: 18 additions & 0 deletions

File tree

.claude/settings.local.json

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
{
2+
"permissions": {
3+
"allow": [
4+
"Bash(pnpm vitest *)",
5+
"Bash(git push *)",
6+
"Bash(git add *)",
7+
"Bash(git commit -m 'chore\\(deps\\): bump ember-eslint-parser to ^0.10.0 *)",
8+
"Bash(node spike.mjs)",
9+
"Bash(node dump-ast.mjs)",
10+
"WebFetch",
11+
"WebSearch"
12+
]
13+
}
14+
}

lib/rules/template-no-invalid-interactive.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 { isHtmlInteractiveContent } = require('../utils/html-interactive-content');
24
const { INTERACTIVE_ROLES } = require('../utils/interactive-roles');
35

lib/rules/template-no-nested-interactive.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 { isHtmlInteractiveContent } = require('../utils/html-interactive-content');
24
const { INTERACTIVE_ROLES, COMPOSITE_WIDGET_CHILDREN } = require('../utils/interactive-roles');
35

0 commit comments

Comments
 (0)