Skip to content

Post-merge-review: Fix template-deprecated-inline-view-helper false positive in GJS/GTS#2666

Open
johanrd wants to merge 1 commit intoember-cli:masterfrom
johanrd:night_fix/template-deprecated-inline-view-helper
Open

Post-merge-review: Fix template-deprecated-inline-view-helper false positive in GJS/GTS#2666
johanrd wants to merge 1 commit intoember-cli:masterfrom
johanrd:night_fix/template-deprecated-inline-view-helper

Conversation

@johanrd
Copy link
Copy Markdown
Contributor

@johanrd johanrd commented Apr 13, 2026

What's broken on master

Flags {{view ...}} and view.* paths. Block-param shadowing is tracked but JS imports/consts are not, so in GJS/GTS a legitimate import view from '…' would be flagged.

Fix

Gate to .hbs only. The classic view helper/namespace only exists in HBS.

Test plan

53/53 tests pass. 2 new GJS valid tests fail on master.


Co-written by Claude.

The {{view}} and view.* patterns are classic Ember only; in GJS/GTS
files, `view` may be a legitimate imported JS binding or local variable.
@johanrd johanrd marked this pull request as ready for review April 13, 2026 10:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant