v2.0.0
Many improvements and issues that were overlooked in the initial implementation have been fixed.
These include:
- preserving comments
- detecting non-import statements between import groups and moving them after the imports section
- much more configuration options
- third party dependencies may now appear as not the first group
- absolute project imports from directories that are named like native NodeJS modules (e.g.
util
) are properly matched
These changes caused a breaking change when it comes to the rule configuration. See the README.md for more information.
Also, starting from this release there are unit tests and a CI process has been set up. You can monitor the build status on the readme page.