-
Notifications
You must be signed in to change notification settings - Fork 20
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
Cant lint angular template wrapped in Script tag #5
Comments
When I tried with --ignore-tags 'script' option then it shows weird output |
Hi @achintverma,
Although it looks like it's kind of working from the above output, I think it will actually report a problem for any tags it sees inside the script block. To fix this, you would have to make it parse the script contents as HTML and run the linter over it - if you'd like to have a go at creating a pull request for this, please feel free to :) It's unlikely I will have any time to look at this for a while. Thanks! |
Thanks for the swift reply. I saw the similar output when I ignored script tags. Your explanation makes sense, can see why the output was like that. I'll Work on the solution and will submit PR in coming weeks. Thanks again!! |
@achintverma that would be awesome, thank you! 👍 |
It's not working with code like
The text was updated successfully, but these errors were encountered: