-
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
False positive in pipe parameter #200
Comments
It seems Does your code work with AoT compilation? If it does, what starter do you use? Let me know if my findings are missig something. |
Yes, the code is working with AoT compilation. The translations are working fine both with Aot and JIT compilations. I don't think is an issue os the The translation won't even work if
|
I've been looking into it and it seems that this issues is related with issue #191 My component is extending angular2localization |
@emilio-simoes thanks for the insight. I'll work on support for extended classes in the next release. |
This is still an issue in Codelyzer 3.0.0. |
Can confirm, please reopen the issue. |
If you need type checking (support for inheritance, etc.) you should switch back to the beta version. Another problem here is that the linting gets very slow. Keeping the performance in mind, I'm not sure if we should perform a flat or deep analysis of the application. |
I'm getting a false positive when using angular2localization translate pipe. The pipe requires some parameters like:
<h1>{{ 'toolbar.title' | translate:lang }}</h1>
but the
lang
parameter is causing the following error:src/client/app/shared/toolbar/toolbar.component.html[1, 36]: The property "lang" that you're trying to access does not exist in the class declaration.
Using codelyzer 2.0.0-beta.3
The text was updated successfully, but these errors were encountered: