chore(deps): update dependency dprint to ^0.51.0#135
Open
renovate[bot] wants to merge 1 commit intomainfrom
Open
chore(deps): update dependency dprint to ^0.51.0#135renovate[bot] wants to merge 1 commit intomainfrom
renovate[bot] wants to merge 1 commit intomainfrom
Conversation
Contributor
Author
Branch automerge failureThis PR was configured for branch automerge. However, this is not possible, so it has been raised as a PR instead.
|
This file contains hidden or 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
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.50.0→^0.51.0Release Notes
dprint/dprint (dprint)
v0.51.1Compare Source
Changes
$HOME/.config/dprinton macOS for global config (#1062)dprintexecutable now prefers putting the global config in the folder at$HOME/.config/dprint, but will continue to use the "Application Support" macOS config directory if a config file exists in there.0.51.0 release notes: https://github.com/dprint/dprint/releases/tag/0.51.0
Install
Run
dprint upgradeor see https://dprint.dev/install/Checksums
v0.51.0Compare Source
Features
Global Configuration File
dprint now supports a global configuration file that can be used when not in a project. (#1040)
Initialize a global config:
dprint init --global # or dprint config init --globalThe global config location is customizable via the
DPRINT_CONFIG_DIRenvironment variable, but by default is stored in (this reflects the update that was published in 0.51.1 after feedback):~/.config/dprint/dprint.jsonc(or$XDG_CONFIG_HOME/dprint/dprint.jsonc)$HOME/Library/Application Support/dprint/dprint.jsoncif it exists%APPDATA%\dprint\dprint.jsoncNote: You can edit the config by running
dprint config edit --globalUse global config for formatting:
Once setup, the global configuration will be used by default when there's no dprint configuration file in the current directory tree; however, to prevent accidentally formatting such directories, a prompt is shown when calling
dprint fmt:As the hint states, you can bypass the confirmation prompt by providing the current directory:
To format files using only the global configuration and ignore local configuration files use:
Manage global config:
Full docs: https://dprint.dev/global-config/
Improved
dprint checkOutputWhen files are not formatted,
dprint checknow suggests runningdprint fmtto fix them, making it clearer for new users contributing to your projects what to do next. (#1056)dprint check --fail-fastStops checking files and exit on the first file that isn't formatted. This is useful when you want even faster feedback. (#1054)
Note: When using
--log-level=silent,--fail-fastis now enabled by default.Breaking Changes
dprint config updateis now non-recursive by default - The command now only updates the configuration file in the current directory by default, rather than updating all config files in descendant directories. Use--recursive(or-r) to update configuration files recursively. (#1053)Other Changes
updateUrltoeditor-infocommand output (#1027)Install
Run
dprint upgradeor see https://dprint.dev/install/Checksums
v0.50.2Compare Source
Changes
Install
Run
dprint upgradeor see https://dprint.dev/install/Checksums
Configuration
📅 Schedule: Branch creation - Monday through Friday ( * * * * 1-5 ) in timezone Europe/Warsaw, Automerge - At any time (no schedule defined).
🚦 Automerge: Enabled.
♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.