build: format all file kinds (TOML + Markdown + Rust formatting) with a single tool, dprint#158
Merged
Conversation
8810a2d to
4d76ba6
Compare
dprint becomes the single formatter for the repo, expanding coverage from Cargo-manifest TOML only to all TOML, Markdown, and Rust under one tool and one CI job. TOML behavior matches taplo: dependency tables are sorted by dprint's default cargo conventions. - add dprint.json (toml, markdown, and exec/rustfmt plugins pinned by version + sha256 checksum) - Makefile: fmt now runs 'dprint check' (covers all files); install dprint - ci.yml: single Format job uses dprint/check@v2.3 + rustfmt toolchain; drops the taplo curl install and the separate cargo fmt job - CLAUDE.md: document the dprint workflow - remove now-unused .taplo.toml Formatting is applied in the following revision.
4d76ba6 to
729476e
Compare
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.
Use dprint as the single entrypoint for formatting all file kinds (Rust, Markdown, YAML) in the repository.
Split into two revisions for ease of review:
dprintOne Rust file (
fuzz/fuzz_targets/paseto_verify.rs) was unformatted becausefuzz/is a separate workspace that wasn't covered by the existingfmtCI job.