Rule: component-class-suffix

Classes decorated with @Component must have suffix “Component” (or custom) in their name.

See more at https://angular.io/styleguide#style-02-03.

Rationale

Consistent conventions make it easy to quickly identify and reference assets of different types.

Notes:
TS Only

Config

Supply a list of allowed component suffixes. Defaults to “Component”.

Examples
"component-class-suffix": true
"component-class-suffix": [true, "Component", "View"]
Schema
{
  "items": {
    "type": "string"
  },
  "minLength": 0,
  "type": "array"
}