-
-
Notifications
You must be signed in to change notification settings - Fork 105
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
chore(deps): update dependency dprint to ^0.43.0 #91
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
✅ Deploy Preview for lrc-maker ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
231cf20
to
3478ce8
Compare
3478ce8
to
5022185
Compare
5022185
to
3202a01
Compare
3202a01
to
c136ac0
Compare
c136ac0
to
0167497
Compare
0167497
to
0aed031
Compare
magic-akari
approved these changes
Nov 20, 2023
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
^0.42.5
->^0.43.0
Release Notes
dprint/dprint (dprint)
v0.43.0
Compare Source
Changes
--allow-no-files
(https://github.com/dprint/dprint/pull/778)This allows specifying a
--allow-no-files
flag on the command line (ex.dprint check --allow-no-files **/*.ts
) to supress the non-zero exit code when dprint finds no files and return a0
exit code. Previously, the only option was to have some way of checking for exit code14
, which was inconvenient. This will be useful in pre-commit hooks, for example.More Plugins
The plan (not guarantee... I do this in my free time) for the end of this year has been to get more formatters working in dprint, improve the Prettier plugin, and get dprint compiling on more architectures. See the End of 2023 roadmap for more details.
On that note, dprint now supports two additional plugins.
Biome Plugin
There is now a Biome adapter plugin for formatting JavaScript, TypeScript, and JSON files with Biome. It's a Wasm plugin so it runs sandboxed and you can use it on all CPU architectures that dprint supports. Additionally, it supports formatting via a JavaScript API.
Run the following to add the Biome plugin to your dprint.json:
dprint config add biome
For more details, see: https://dprint.dev/plugins/biome/
Ruff Plugin
Similarly, there is now a Ruff adapter plugin for formatting Python files with Ruff. It is also a Wasm plugin and also has support for formatting via a JavaScript API.
Run the following to add the Ruff plugin to your dprint.json:
dprint config add ruff
For more details, see: https://dprint.dev/plugins/ruff/
Install
Run
dprint upgrade
or see https://dprint.dev/install/Checksums
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ 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.
This PR has been generated by Mend Renovate. View repository job log here.