component-annotation-arguments-ordering
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
analysis_options.yaml
dart_code_metrics:
rules:
- component-annotation-arguments-ordering:
order:
- selector
- templates
- change-detection