ci: format
This commit is contained in:
parent
e9d5587430
commit
b4645fbf29
4 changed files with 25 additions and 3 deletions
14
scripts/ci.sh
Executable file
14
scripts/ci.sh
Executable file
|
|
@ -0,0 +1,14 @@
|
|||
#!/bin/sh
|
||||
set -eu
|
||||
|
||||
nix fmt
|
||||
git diff --exit-code -- '*.nix'
|
||||
nix develop --command deadnix --fail --no-lambda-pattern-names -- **/*.nix
|
||||
nix develop --command statix check
|
||||
|
||||
nix develop --command stylua --check config/nvim
|
||||
git ls-files '*.lua' | xargs nix develop --command selene --display-style quiet --config config/nvim/selene.toml
|
||||
|
||||
nix develop --command shfmt -i 2 -d scripts/ config/claude/hooks/guard.sh
|
||||
|
||||
nix develop --command prettier --check .
|
||||
Loading…
Add table
Add a link
Reference in a new issue