-
Notifications
You must be signed in to change notification settings - Fork 237
Do we need "Invoke Injectable" rule? #260
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
Comments
Good point. There should be a clean-up. Few rules which are no longer required are:
The final one is handled by the tsc, first two by ngc. |
wow, I took some time to figure out why |
Nevermind, I figured out I should've gone to read the changelog instead of googleing the rule https://github.com/mgechev/codelyzer/blob/master/CHANGELOG.md |
To reduce warnings. see mgechev/codelyzer#260
- templates-use-public/no-access-missing-member (not more exist as handled by tsc - mgechev/codelyzer#260 (comment)) - invoke-injectable (not more exist as handled by ngc - mgechev/codelyzer#260 (comment)) - use-input*/use-output*/use-host* renamed - mgechev/codelyzer#754 - "typeof-compare is deprecated. Starting from TypeScript 2.2 the compiler includes this check which makes this rule redundant"
Do we really need this as a rule? TypeScript simply fails if it's not invoked:
I see it being suggested in #70, but is really all that "mysteriously"? My IDE (WS) also clearly underlines it.
The text was updated successfully, but these errors were encountered: