Releases: IanVS/prettier-plugin-sort-imports
Releases · IanVS/prettier-plugin-sort-imports
v3.7.0
What's Changed
Features
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
Full Changelog: v3.6.0...v3.7.0
v3.6.0
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:
Full Changelog: v3.5.2...v3.6.0
v3.5.2
v3.5.1
v3.5.0
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
- @ArnaudBarre made their first contribution in #29
Full Changelog: v3.4.2...v3.5.0
v3.4.2
v3.4.1
v3.4.0
What's Changed
Features
- Introduce
importOrderBuiltinModulesToTop
for Node Builtins by @IanVS and @nickhudkins in #10 - Custom import order separation by @IanVS and @atombrenner in #12
Documentation
New Contributors
Full Changelog: v3.3.1...v3.4.0
v3.3.1
What's Changed
- Preserve directive prologues fixes #5 #7 by @blutorange in #6
Full Changelog: v3.3.0...v3.3.1
v3.3.0
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
- @IanVS made their first contribution in #1
- @blutorange made their first contribution in #2
Full Changelog: https://github.com/IanVS/prettier-plugin-sort-imports/commits/v3.3.0