diff options
| author | 2026-04-21 01:24:36 +0100 | |
|---|---|---|
| committer | 2026-04-21 01:24:36 +0100 | |
| commit | d2bc82b24f6133a8ba8f7f824d1972760d7b71f1 (patch) | |
| tree | f6b2f392fd333db26b7179ce0a52d0ed261ed836 /dot_config/nvim | |
| parent | 4ea067d84b13630704392c91b00fc53906337bb6 (diff) | |
| download | dotfiles-d2bc82b24f6133a8ba8f7f824d1972760d7b71f1.tar.gz dotfiles-d2bc82b24f6133a8ba8f7f824d1972760d7b71f1.tar.bz2 dotfiles-d2bc82b24f6133a8ba8f7f824d1972760d7b71f1.zip | |
feat(justfile): add fmt and lint recipes
Two recipes with matching shape:
just fmt # format the whole repo
just fmt <path> # format one file (dispatch by ext/filename/shebang)
just lint # lint the whole repo
just lint <path> # lint one file
Dispatch:
.lua stylua / selene
*.sh + sh shebang shfmt / shellcheck
.zshrc/.zprofile (no fmt) / shellcheck --shell=bash (best-effort)
.py ruff format / ruff check
justfile just --fmt / just --fmt --check
.toml taplo format / taplo lint
.md/.json/.jsonc/.yaml/.yml/.css prettier --write / --check
If a required tool is missing, the recipe aborts with an install hint
naming the package. Whole-repo mode aggregates non-zero exits in lint
so you see every issue in one pass.
Diffstat (limited to 'dot_config/nvim')
0 files changed, 0 insertions, 0 deletions
