Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore(deps): update dependency @ianvs/prettier-plugin-sort-imports to…
… v4.3.0 (#725) [](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [@ianvs/prettier-plugin-sort-imports](https://github.com/ianvs/prettier-plugin-sort-imports) | [`4.2.1` -> `4.3.0`](https://renovatebot.com/diffs/npm/@ianvs%2fprettier-plugin-sort-imports/4.2.1/4.3.0) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>ianvs/prettier-plugin-sort-imports (@​ianvs/prettier-plugin-sort-imports)</summary> ### [`v4.3.0`](https://github.com/IanVS/prettier-plugin-sort-imports/releases/tag/v4.3.0) [Compare Source](https://github.com/ianvs/prettier-plugin-sort-imports/compare/v4.2.1...v4.3.0) #### What's Changed ##### Features - Add support for import attributes by [@​IanVS](https://github.com/IanVS) in [https://github.com/IanVS/prettier-plugin-sort-imports/pull/174](https://github.com/IanVS/prettier-plugin-sort-imports/pull/174) This release adds support for experimental import attributes / assertions. There have been a number of styles proposed by TC-39 over the years, but the latest is to use `import x from 'x' with { type: 'json' };`, which is called an "import attribute". There is also an older "import assertion" form, which uses `assert` instead of `with`. **Note:** You may need to add `"importAttributes"` to your `"importOrderParserPlugins"` option in order to support this. And if you are using the older assertion style, you'll need to add it as `'[\"importAttributes\", {\"deprecatedAssertSyntax\": true}]'`. This plugin will also convert the older assertion style to import attributes. ##### Bugfixes - Fix vue 2.7 support by [@​IanVS](https://github.com/IanVS) in [https://github.com/IanVS/prettier-plugin-sort-imports/pull/173](https://github.com/IanVS/prettier-plugin-sort-imports/pull/173) ##### TypeScript - Augment Prettier `Options` types with internal `PluginConfig` by [@​jeremy-code](https://github.com/jeremy-code) in [https://github.com/IanVS/prettier-plugin-sort-imports/pull/172](https://github.com/IanVS/prettier-plugin-sort-imports/pull/172) You can now type your prettier config as simply `/** @​type {import("prettier").Config} */`, and you'll also get the types for the options this plugin adds, automatically. ##### Docs - Update README to show more options for disabling and overrides by [@​ADTC](https://github.com/ADTC) in [https://github.com/IanVS/prettier-plugin-sort-imports/pull/165](https://github.com/IanVS/prettier-plugin-sort-imports/pull/165) #### New Contributors - [@​ADTC](https://github.com/ADTC) made their first contribution in [https://github.com/IanVS/prettier-plugin-sort-imports/pull/165](https://github.com/IanVS/prettier-plugin-sort-imports/pull/165) - [@​jeremy-code](https://github.com/jeremy-code) made their first contribution in [https://github.com/IanVS/prettier-plugin-sort-imports/pull/172](https://github.com/IanVS/prettier-plugin-sort-imports/pull/172) **Full Changelog**: IanVS/prettier-plugin-sort-imports@v4.2.1...v4.3.0 </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Enabled. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://developer.mend.io/github/technifit/tasker).
- Loading branch information