Code Inspections in Angular
This topic lists all JetBrains Rider code inspections available in Angular.
You can toggle specific inspections or change their severity level on the Editor | Inspection Settings | Inspection Severity | Other Languages page of the IDE settings Ctrl+Alt+S.
|Ambiguous component tag|
Reports a component that is matched on an embedded template element
|Angular CLI add dependency|
Suggests using the
|Content inside <ng-content> tag|
Reports a text or tag occurrence inside a
|Inaccessible component member in AOT mode|
Reports accessing a private or protected member of a component from the component's template. Such usages result in AOT compilation failure.
|Incorrect component template definition|
Reports a component that doesn’t have an associated template or uses both
|Insecure binding to event|
Reports a binding to an event property or attribute, for example,
|Invalid animation trigger assignment|
Reports an invalid assignment of an animation trigger. To attach an animation to an element, use
|Invalid entry component|
Reports an invalid Angular component specified in the module’s
|Invalid expression result type|
Reports incorrect return type of an Angular binding expression.
|Invalid i18n attribute|
Reports a problem with a
|Invalid imported or declared symbol|
Reports any symbol that is declared, imported or exported by an Angular module that is not a module, component, directive, or pipe or can’t be used in the context of the property.
|Missing event handler|
Reports a missing event handler statement for an event binding.
|Missing or invalid component, directive or pipe declaration in a module|
Reports an Angular component, directive, or pipe that is not declared in any module or is declared in multiple modules.
|Missing or invalid selector|
Reports an invalid
|Multiple structural directives on one element|
Reports multiple structural directives (
|Recursive import or export of Angular module|
Reports a cyclic dependency between Angular modules.
|Unbound or ambiguous template reference variable|
Reports a template reference variable that is not assigned to a directive when using
Reports an undefined property, event, or structural directive bindings on elements.
|Undefined export from Angular module|
Reports an export of an undeclared or unimported component, directive, or pipes from an Angular module.
Reports a tag defined by a component or directive out of the current scope.