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"]
"prefer-inline-decorator": [true, "Input", "MyCustomDecorator"]
Schema
{
  "items": [
    {
      "type": "string"
    }
  ],
  "type": "array"
}