github IanVS/prettier-plugin-sort-imports v3.7.0

latest releases: v4.7.0, v4.6.3, 4.6.2...
2 years ago

What's Changed

Features

  • Support explicit type sorting by @IanVS in #44

If you would like to order type imports differently from value imports, you can use the special <TYPES> string. This example will place third party types at the top, followed by local types, then third party value imports, and lastly local value imports:

"importOrder": ["<TYPES>", "<TYPES>^[./]", "<THIRD_PARTY_MODULES>", "^[./]"],

Dependencies

  • Make vue dependency optional by @IanVS in #45

Full Changelog: v3.6.0...v3.7.0

Don't miss a new prettier-plugin-sort-imports release

NewReleases is sending notifications on new releases.