Skip to content
This repository has been archived by the owner on Jul 16, 2023. It is now read-only.

Latest commit

 

History

History
34 lines (25 loc) · 607 Bytes

component_annotation_arguments_ordering.md

File metadata and controls

34 lines (25 loc) · 607 Bytes

Component annotation arguments ordering

Configurable

Rule id

component-annotation-arguments-ordering

Description

Enforces Angular @Component annotation arguments ordering.

The value for order may be an array consisting of the following strings (default order listed):

  • selector
  • templates
  • styles
  • directives
  • pipes
  • providers
  • encapsulation
  • visibility
  • exports
  • change_detection

Config example

component-annotation-arguments-ordering:
  order:
    - selector
    - templates
    - change_detection