Rule: prefer-inline-decorator

Ensures that decorators are on the same line as the property/method it decorates.

See more at https://angular.io/guide/styleguide#style-05-12.

Rationale

Placing the decorator on the same line usually makes for shorter code and still easily identifies the property/method.

Notes:
TS Only Has Fixer

Config

A list of blacklisted decorators.

Examples
"prefer-inline-decorator": true
"prefer-inline-decorator": [true, "HostListener"]
Schema
{
  "items": {
    "enum": [
      "ContentChild",
      "ContentChildren",
      "HostBinding",
      "HostListener",
      "Input",
      "Output",
      "ViewChild",
      "ViewChildren"
    ],
    "type": "string"
  },
  "maxLength": 8,
  "minLength": 0,
  "type": "array"
}