Skip to content

Releases: IanVS/prettier-plugin-sort-imports

v3.7.0

27 Oct 17:45
35266d5
Compare
Choose a tag to compare

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

v3.6.0

26 Oct 15:02
Compare
Choose a tag to compare

What's Changed

Features:

Add this to your prettier config file to get autocompletion and type checking:

// @ts-check

/** @type {import(https://github.com/ianvs/prettier-plugin-sort-imports).PrettierConfig} */
module.exports = { // ... your config

Maintenance:

  • Upgrade development dependencies by @IanVS in #42

Full Changelog: v3.5.2...v3.6.0

v3.5.2

25 Oct 11:16
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v3.5.1...v3.5.2

v3.5.1

24 Oct 13:47
Compare
Choose a tag to compare

What's Changed

  • Fix: Do not combine default type imports with value imports by @IanVS in #38

Full Changelog: v3.5.0...v3.5.1

v3.5.0

24 Oct 13:47
Compare
Choose a tag to compare

What's Changed

  • Feature: importOrderMergeDuplicateImports by @fbartho in #19
  • Feature: importOrderCombineTypeAndValueImports by @fbartho in #20
  • Maintenance: use fine-grained lodash-imports by @fbartho in #21
  • Avoid initial new line when using custom group separator by @ArnaudBarre in #29

New Contributors

Full Changelog: v3.4.2...v3.5.0

v3.4.2

18 May 02:07
Compare
Choose a tag to compare

What's Changed

  • Remove node 12 tests, add node 18 by @IanVS in #18
  • More strict on what is considered a builtin - Fixes #16 by @fbartho in #17

Full Changelog: v3.4.1...v3.4.2

v3.4.1

17 May 00:39
Compare
Choose a tag to compare

What's Changed

  • Fix: "Ignore unknown option importOrderBuiltinModulesToTop" by @fbartho in #15

Full Changelog: v3.4.0...v3.4.1

v3.4.0

17 May 00:22
Compare
Choose a tag to compare

What's Changed

Features

Documentation

New Contributors

Full Changelog: v3.3.1...v3.4.0

v3.3.1

27 Apr 13:40
Compare
Choose a tag to compare

What's Changed

Full Changelog: v3.3.0...v3.3.1

v3.3.0

18 Mar 13:44
Compare
Choose a tag to compare

What's Changed

  • Update / Unlock dependencies by @IanVS in #1
  • Update bug report and feature templates by @IanVS in #3
  • Honor prettier-ignore comments by @blutorange in #2

New Contributors

Full Changelog: https://github.com/IanVS/prettier-plugin-sort-imports/commits/v3.3.0