--config-discovery=<mode> flag and environment variable
It's now possible to change the way dprint discovers configuration files by using the --config-discovery flag:
--config-discovery=default(default) - Discovers configuration files in the current directory, ancestor directories, and descendant directories while searching for files to format.--config-discovery=ignore-descendants- Discovers configuration files in the current directory and ancestor directories only.--config-discovery=false- Disables all configuration discovery (specify either--config=<path>or--plugins <url-or-path>).
Note this can also be set via the DPRINT_CONFIG_DISCOVERY environment variable (ex. DPRINT_CONFIG_DISCOVERY=false)
Vim key bindings for selections
You can now use k/j for up/down, q to quit, and l to accept.
Install
Run dprint upgrade or see https://dprint.dev/install/
What's Changed
Full Changelog: 0.49.1...0.50.0
- feat: add vim key bindings for selection by @FabricSoul in #964
- fix: upgrade crate url to 2.5.4 by @trim21 in #973
- feat: add
--config-discovery=falseandDPRINT_CONFIG_DISCOVERY=falseby @dsherret in #982 - feat:
--config-discovery=ignore-descendantsby @dsherret in #983
New Contributors
- @FabricSoul made their first contribution in #964
- @qaqland made their first contribution in #975
- @trim21 made their first contribution in #973
Full Changelog: 0.49.1...0.50.0
Checksums
| Artifact | SHA-256 Checksum |
|---|---|
| dprint-x86_64-apple-darwin.zip | 9266d40c1c565bea46cee3a195d086432682671f2f063357c8ddb66577cb24b0 |
| dprint-aarch64-apple-darwin.zip | b6a25e1dff9ea8d9e023548c0ec80fcde5d425e48fab60028fc0003fddf2debb |
| dprint-x86_64-pc-windows-msvc.zip | 4b396b18741896e794a274998eda6f780e0a345fd9ff4e90a54c90a003007a9c |
| dprint-x86_64-pc-windows-msvc-installer.exe | 2c1f7afe5f3dc7999b175dc90a23a25b9f5a944d3c1fc1c20b8ff4a5274f3570 |
| dprint-x86_64-unknown-linux-gnu.zip | f68122411325908f076f65e02d03103c9dbb9feabe80c8fbca8f81b7e8cd2512 |
| dprint-x86_64-unknown-linux-musl.zip | 74012160bb83cc09d77f9cb200e5916c411a8920289011dad0d38eb018ecfcfe |
| dprint-aarch64-unknown-linux-gnu.zip | 827129b278ad82acd12490488ba1fd981eb21f8c3bfa83c828d9dba4aa1b59f1 |
| dprint-aarch64-unknown-linux-musl.zip | 54db26d4219438578230197e4e6c552f3d9297215cbdf258991e62715dce9e83 |
| dprint-riscv64gc-unknown-linux-gnu.zip | 29cac7205ddfc5d94cc1c89f7935e7ec41572e4fe921725c7e2a0a391d0740d5 |