Rule: directive-class-suffix

Classes decorated with @Directive must have suffix “Directive” (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 “Directive”.

Examples
"directive-class-suffix": true
"directive-class-suffix": [true, "Directive", "MySuffix"]
Schema
{
  "type": "array",
  "items": {
    "type": "string"
  }
}