Skip to content

Sort import fixes by number of directory separators - #42614

Merged
Andrew Branch (andrewbranch) merged 2 commits into
microsoft:masterfrom
andrewbranch:enhancement/41083
Feb 3, 2021
Merged

Sort import fixes by number of directory separators#42614
Andrew Branch (andrewbranch) merged 2 commits into
microsoft:masterfrom
andrewbranch:enhancement/41083

Conversation

@andrewbranch

Copy link
Copy Markdown
Member

Fixes the part of #41083 that can currently be fixed.

Previously, we only sorted reëxports of the same symbol (and we used absolute module specifier length, not number of directory separators). With this change, we sort all fixes together by number of directory separators. (Fix kind and package.json restrictions still take priority.)

Sign up for freeto subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

Author: TeamFor Uncommitted BugPR for untriaged, rejected, closed or missing bug

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants

@andrewbranch@sheetalkamat@typescript-bot