-
Notifications
You must be signed in to change notification settings - Fork 235
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
--fix
is broken with .gts
files
#2681
Comments
Thanks for reporting. Does this block the v5 release (#2319)? Do you expect to be able to fix it? I'm hoping to get that release out in the next week or so. |
Since Polaris isn't default yet, I don't think this would be blocking. |
Looks like the ember-template-lint/lib/linter.js Line 178 in e4a99f3
|
@bmish - This is definitely a bug (and probably a pretty annoying one for folks using GJS / GTS), but since it’s 1) clearly a bug and 2) only affects folks using syntax that was not supported by default in 4.x, it probably doesn’t need to block 5.0.0. However, fixing it probably isn’t mega-hard… |
--fix
is broken with .gts
files
Since v5 will include |
Ya, good point! Minor side point:
The particular issue reported here (unclosed elements) is likely to only affect TS files (because generics look like unclosed elements to the parser), but you are 100% correct that other problems will likely crop up. |
I created some simple test case failures for this issue over in #2696 |
Here is where I am testing: NullVoxPopuli/limber#545
Without
--fix
works fine:With fix gives an error an the typescript syntax:
so, maybe somehow when in fix mode, the templates aren't getting parsed / extracted appropriately.
looks like the same error on gjs:
The text was updated successfully, but these errors were encountered: