Closed
Description
Description and reproduction of the issue
@Component({
styleUrls: ['./money.style.less'],
selector: 'money',
changeDetection: ChangeDetectionStrategy.OnPush,
templateUrl: './money.template.html',
})
It would be really cool if we could sort the keys automatically
eslint . --fix
@Component({
selector: 'money',
templateUrl: './money.template.html',
styleUrls: ['./money.style.less'],
changeDetection: ChangeDetectionStrategy.OnPush,
})
{
"rules": {
"@angular-eslint/sort-keys-in-type-decorator": [
{
"Component": ["selector", "templateUrl", "styleUrls", "changeDetection"]
}
]
}
}