facebook pixelCodiga Analysis TypeScript Rules, severity error , category design
BACK TO LIST

TypeScript rules

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.

@angular-eslint/no-empty-lifecycle-method

Design
Error

Detect empty lifecycle methods

Learn more

@angular-eslint/prefer-on-push-component-change-detection

Design
Error

Prefer ChangeDetectionStrategy.OnPush as the changeDetection strategy for your @Component

@angular-eslint/use-component-view-encapsulation

Design
Error

Detect any component encapsulation that is ViewEncapsulation.None. It should be either ViewEncapsulation.ShadowDom or ViewEncapsulation.Emulated

@angular-eslint/use-lifecycle-interface

Design
Error

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)

import/max-dependencies

Design
Error

Detect if there are too many dependencies in one module according to settings