You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This issue will be fixed when we start gathering metadata with ngast. The timeline is not very clear but probably will happen somewhen next month. Until then, you can update your .codelyzer.js and add the directive declaration manually.
Is there a way to disable this rule in an external template only, but not for the whole project? I don't have a .codelyzer.js config, I just reference the codelyzer rules from tslint.json.
EDIT:
Nevermind, all you need to do is add /* tslint:disable no-access-missing-member */ in the corresponding typescript file. :)
Consider this code:
If you run
tslint
with codelyzer's"no-access-missing-member"
rule enabled, you get an error:This is not right. Of course,
"myModal"
is indeed not a method, and it does not exist in the class declaration. Yet, this is perfectly valid codeThe text was updated successfully, but these errors were encountered: