Inspectopedia 2024.3 Help

Angular

Ambiguous component tag   New in this release

Reports a component that is matched on an embedded template element <ng-template> or multiple components matched on any other element.

Angular CLI add dependency   New in this release

Suggests using the ng add command to install the dependency.

Content inside <ng-content> tag   New in this release

Reports a text or tag occurrence inside a <ng-content> tag used for content projection.

Inaccessible component member or directive input   New in this release

Reports access to invisible (private or protected) component member or directive input from an Angular template.

Incorrect component template definition   New in this release

Reports a component that doesn’t have an associated template or uses both template and templateUrl properties.

Incorrect usage of @let declaration   New in this release

Reports problems with @let declaration usages.

Incorrect usage of Angular block   New in this release

Reports problems with Angular blocks.

Insecure binding to event   New in this release

Reports a binding to an event property or attribute, for example, [onclick] or [attr.onclick] instead of (click).

Invalid animation trigger assignment   New in this release

Reports an invalid assignment of an animation trigger.

Invalid binding type   New in this release

Reports a mismatch between actual and expected directive binding type.

Invalid entry component   New in this release

Reports an invalid Angular component specified in the module’s bootstrap or entryComponents property.

Invalid i18n attribute   New in this release

Reports a problem with a i18n-* attribute.

Invalid imported or declared symbol   New in this release

Reports any symbol that is declared, imported or exported by an Angular module or standalone component that is not a module, component, directive, or pipe or can’t be used in the context of the property.

Invalid usage of imports in non-standalone components   New in this release

Reports usages of imports property in non-standalone component decorators.

Issues with ngSrc usage in img tags   New in this release

Reports issues related to usage of ngSrc (NgOptimizedDirective) on img tags.

Missing event handler   New in this release

Reports a missing event handler statement for an event binding.

Missing or invalid component, directive or pipe declaration in a module   New in this release

Reports a non-standalone Angular component, directive, or pipe that is not declared in any module or is declared in multiple modules.

Missing or invalid selector   New in this release

Reports an invalid selector property of a component or directive.

Missing required directive input   New in this release

Reports a missing binding for a required directive input.

Multiple structural directives on one element   New in this release

Reports multiple structural directives (*ngIf, *ngFor, etc.) on one element.

Non-iterable type in @for block   New in this release

Reports that the type of variable to iterate over does not have [Symbol.iterator]() method, which returns an iterator.

Problems with @defer `on` triggers   New in this release

Reports issues with triggers in `on` parameters in `@defer` block.

Recursive import or export of an Angular module or a standalone component   New in this release

Reports a cyclic dependency between Angular modules or standalone components.

Unbound or ambiguous template reference variable   New in this release

Reports a template reference variable that is not assigned to a directive when using exportAs or is assigned to multiple directives.

Undefined binding   New in this release

Reports an undefined property, event, or structural directive bindings on elements.

Undefined export from Angular module   New in this release

Reports an export of an undeclared or unimported component, directive, or pipes from an Angular module.

Undefined tag   New in this release

Reports a tag defined by a component or directive out of the current scope.

Unresolved pipe   New in this release

Reports an unresolved pipe.

Unsupported Angular expression syntax   New in this release

Reports problems with Angular expression syntax, which is not supported in an older version of Angular.

Unused import in an Angular component declaration   New in this release

Reports unused imports in Angular components.

Last modified: 03 December 2024