Rule: no-queries-metadata-property
Use @ContentChild, @ContentChildren, @ViewChild or @ViewChildren instead of the queries
property of @Component
or @Directive
metadata.
Rationale
The property associated with @ContentChild, @ContentChildren, @ViewChild or @ViewChildren can be modified only in a single place: in the directive’s class. If you use the queries metadata property, you must modify both the property declaration inside the controller, and the metadata associated with the directive.
Notes:
TS Only
Config
Not configurable.
Examples
Schema
null