codelyzer: Drop rules which produce warnings that are supposed to be compile-time errors
Drop:
templates-use-public
no-access-missing-member
invoke-injectable
About this issue
- Original URL
- State: closed
- Created 7 years ago
- Comments: 16 (2 by maintainers)
Commits related to this issue
- refactor: drop rules Fix #264 — committed to mgechev/codelyzer by mgechev 7 years ago
- refactor: drop rules (#448) * refactor: drop rules * refactor: drop rules Fix #264 — committed to mgechev/codelyzer by mgechev 7 years ago
- [fix] remove redundant TSLint checks https://github.com/mgechev/codelyzer/issues/264 — committed to MaartenGDev/spotitube-graphql by MaartenGDev 6 years ago
I really don’t understand this choice. I use
ng serve
without the--aot
flag because I want my dev environment to be as fast as possible and JIT compilation is made to achieve this purpose. During development I also want to be informed as soon as possible if I’m writing code that won’t work in production, when I will runng build --prod
. I don’t want to find it out once I think I’m done but I’m actually not because I have to runng serve --aot
and then refactor the code I thought would work. Am I missing something? I think this is a quite common use case.No, of course. Codelyzer delegates this task to the compiler (with AOT mode) => ng build --prod
Because the Angular Language Service already checks that