component-annotation-arguments-ordering
added in: 1.6.0
style
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
dart_code_metrics:
...
rules:
...
- component-annotation-arguments-ordering:
order:
- selector
- templates
- change-detection