@angular-eslint/no-empty-lifecycle-method
Detect empty lifecycle methods
The Codiga Static Analysis engine checks TypeScript code and supports many popular libraries. If you are using React, NextJS, Vue or Angular: the engine will flag any issue in your codebase. Automate your code reviews with Codiga and merge with confidence.
Detect empty lifecycle methods
Prefer ChangeDetectionStrategy.OnPush as the changeDetection strategy for your @Component
Detect any component encapsulation that is ViewEncapsulation.None. It should be either ViewEncapsulation.ShadowDom or ViewEncapsulation.Emulated
Detect if there are missing any implements keyword for every lifecycle hook you use (e.g if using the lifecycle method ngAfterViewInit, the AfterViewInit interface should be implemented)
Detect if there are too many dependencies in one module according to settings
We use cookies to improve your site experience, including analytics cookies to understand how you use our product and design better experiences. Please read our Cookie Policy.