-
Notifications
You must be signed in to change notification settings - Fork 900
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(lint): Handle non-import declaration nodes in import-sort rule
Non-import declaration nodes found between the first and last import statements are currently just removed leading to unexpected behavior. In this commit, such nodes are collected and written back to the end of the import declarations.
- Loading branch information
1 parent
803892a
commit b34f8ca
Showing
2 changed files
with
38 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters