mirror of
https://github.com/nushell/nushell.git
synced 2024-11-27 19:03:30 +01:00
4da7bbbb59
# Description
As another life improvement (and to avoid those `run cargo fmt` commits
😉), this PR adds a command to the toolkit for formatting and running
`clippy` when committing and pushing.
Thanks to @amtoine for the idea!
---------
Co-authored-by: Darren Schroeder <343840+fdncred@users.noreply.github.com>
5 lines
63 B
Plaintext
Executable File
5 lines
63 B
Plaintext
Executable File
#!/usr/bin/env nu
|
|
|
|
use ../toolkit.nu fmt
|
|
|
|
fmt --check --verbose |