question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

no-access-missing-member rule not considering template references

See original GitHub issue

Angular template references are not considered by codelyzer, so the “no-access-missing-member” rule is raising an error (on loginForm) in such cases :

@Component({
    template: `<form #loginForm="ngForm">
<button type="submit" [disabled]="!loginForm.valid">Se connecter</button>
</form>`
})

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Reactions:4
  • Comments:7 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
mgechevcommented, Oct 19, 2016

@abbazabacto this one will be fixed by this PR. Here’s the test.

0reactions
mgechevcommented, Dec 10, 2016

It was fixed in the previous release. Now the template references can also be configured in .condelyzer.js because the tool doesn’t analyze the entire component tree.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Error related to rules 'no-access-missing-member' and ...
When I remove "no-access-missing-member": true and "templates-use-public": true from tslint.json tslint running without any errors.
Read more >
TS Lint warning message - angular - Stack Overflow
When I run npm lint command from Circle CI , I am getting following warning message. Could not find implementations for the following...
Read more >
Using dynamic references to specify template values
Dynamic references provide a concise, powerful way for you to specify external values stored and managed in other services in your stack templates....
Read more >
Set reference fields via template - ServiceNow Community
Solved: Hi all, I am trying to set Model Category and Model on the alm_hardware table via template, but am not able to...
Read more >
When and How to Provide Job References [With Email ...
For some, though, it's not incredibly important, and they're not very ... A good general rule is to have your references printed out...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found