-
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
Codelyzer hanging for "styles" attribute in Angular component #446
Comments
Okay, my mistake and I've worked out what was wrong with my code ... but it would be good if this was reported rather than causing the tool to hang. I'd accidentally put a quote (") after the 20px;.
The typescript / angular compilers don't report this, but tslint fails. |
We can update the CSS parser that we use. Let's keep that open for now. |
Hi, any news? |
@HideDev I'll fix this as part of the next minor release. |
@mgechev thanks |
* fix(core): update the CSS parser Fix #446
I am developing an application using @angular/cli 1.4.9 and @angular 4.4.x , but have encountered an issue running
ng lint
on the code recently. I've diagnosed this usingtslint -c tslint.json .\src\some.component.ts
which never returns.I have traced this down to the following code snipet:
Specifically the styles options, if I remove this the above command succeeds.
I have played with different options in the tslint.json file, but find that many of them cause this not a specific one.
Is there anyway I can get diagnostic logging out to assist in this?
The text was updated successfully, but these errors were encountered: