After starting a project in Angular with Visual Studio Code a few months ago, I decided to switch to WebStorm and upgraded the project to Angular 4.0 today.
Although my project is running smoothly without any errors, I encountered an issue in WebStorm:
TSLint: The selector of the component "ConnectionStatusComponent" should have prefix "app" (https://angular.io/docs/ts/latest/guide/style-guide.html#!#02-07) (component-selector)
Upon reviewing the provided link, I learned that adding a custom prefix to component selectors is a common practice to avoid naming conflicts with components from other apps or native HTML elements.
While I understand the reasoning behind using the `app` prefix, I am curious as to why it is mandatory over other prefixes. If I try to use a different prefix, WebStorm flags it as an error.
The style guide mentioned in the link suggests using a custom prefix for component selectors, such as 'toh' for Tour of Heroes or 'admin' for admin feature areas.
If I can choose any prefix I like, is there a specific rule regarding the prefix name?