+
Skip to content
This repository was archived by the owner on Aug 31, 2023. It is now read-only.

feat(rome_js_analyze): sort imports using natural ordering #3900

Merged
merged 1 commit into from
Nov 29, 2022

Conversation

leops
Copy link
Contributor

@leops leops commented Nov 29, 2022

Summary

This change the sorting algorithm using by the organizeImports action to use natural ordering (provided by the natord crate) instead of alphabetical ordering.

Test Plan

I've added an additional test case demonstrating the new ordering.

@leops leops requested review from xunilrj, ematipico and a team as code owners November 29, 2022 14:51
@netlify
Copy link

netlify bot commented Nov 29, 2022

Deploy Preview for docs-rometools canceled.

Name Link
🔨 Latest commit b253fa6
🔍 Latest deploy log https://app.netlify.com/sites/docs-rometools/deploys/63861c5a08963d0009b0f995

@leops leops merged commit d52da50 into main Nov 29, 2022
@leops leops deleted the feature/sort-import-natural branch November 29, 2022 17:18
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants
点击 这是indexloc提供的php浏览器服务,不要输入任何密码和下载