You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Mar 25, 2021. It is now read-only.
None so far. There are several rules that sort by names, and it'd be good to have a solid proposal on how to standardize their behavior. Should there be a unified "sort" function used by all rules for consistency? Should rules intentionally differ from each other to have better behavior per rule?
In the meantime you could use #4134 to setup distinct ordered groups. So it would put "@angular" before "@angular-" packages for example. It would leave a break between them as groups though so it isn't quite what you need but may be something to consider.
I'm not convinced that there should be special alphabetization behavior for ordered-imports. I think #4063 is the more important issue to tackle related to this. If you really want @angular/core to appear before @angular-redux/router (which is not the order produced by Array.prototype.sort([ '@angular-redux/router', '@angular/core' ])), you should use the grouping functionality introduced by #4134.
Bug Report
TypeScript code being linted
with
tslint.json
configuration:Actual behavior
@angular-redux
is happening before@angular
Expected behavior
@angular
should come before@angular-redux
The text was updated successfully, but these errors were encountered: