Skip to content

Commit c880e12

Browse files
committed
add taplo fmt to just fmt
1 parent ed9d043 commit c880e12

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Justfile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,10 @@ export RUST_TOOLCHAIN := env_var_or_default('RUST_TOOLCHAIN', 'nightly')
77
powerset *args:
88
cargo +{{RUST_TOOLCHAIN}} xtask powerset {{args}}
99

10-
# An alias for cargo fmt --all
10+
# An alias for cargo fmt --all and taplo fmt for TOML files.
1111
fmt *args:
1212
cargo +{{RUST_TOOLCHAIN}} fmt --all {{args}}
13+
taplo fmt
1314

1415
lint *args:
1516
cargo +{{RUST_TOOLCHAIN}} clippy --fix --allow-dirty --allow-staged --all-features --all-targets {{args}} -- -Aclippy::collapsible_if

0 commit comments

Comments
 (0)