Closed scopchanov closed 4 years ago
In my opinion the should be part of
The selector should be prefixed by "app" (https://angular.io/guide/styleguide#style-02-07) (component-selector)
is not correct. According to the provided link:
Do use a prefix that identifies the feature area or the app itself.
The given example indeed shows selector: 'hero' as an inapropriate name, but selector: 'toh-hero' is totally acceptable, although it is not prefixed by app in this case.
selector: 'hero'
selector: 'toh-hero'
app
I believe this is an issue with tslint itself or some custom rule, not with this plugin. Please file an issue upstream against them
In my opinion the should be part of
is not correct. According to the provided link:
The given example indeed shows
selector: 'hero'
as an inapropriate name, butselector: 'toh-hero'
is totally acceptable, although it is not prefixed byapp
in this case.