| Crates.io | just-formatter |
| lib.rs | just-formatter |
| version | 1.1.0 |
| created_at | 2025-04-10 04:09:47.941636+00 |
| updated_at | 2025-04-11 00:04:23.154128+00 |
| description | Format justfile from stdin to stdout. |
| homepage | |
| repository | https://github.com/eli-yip/just-formatter |
| max_upload_size | |
| id | 1627634 |
| size | 8,802 |
just-formatter is a simple wrapper for just. Since just --dump does not support reading files from standard input, unexpected issues may arise when using it as a formatter for editors like Helix Editor.
Run the following command:
cargo install just-formatter
Ensure that just is installed.
cat <justfile> | just-formatter
Example languages.toml:
[[language]]
name = "just"
auto-format = true
formatter = { command = "just-formatter" }
just check to accelarate speedUse --skip-check/-s flag. An example helix config:
[[language]]
name = "just"
auto-format = true
formatter = { command = "just-formatter", args = ["--skip-check"] }