ci : scripts + format

This commit is contained in:
Barrett Ruth 2026-03-04 13:42:15 -05:00
parent f42f958c24
commit a4386c9f4d
No known key found for this signature in database
GPG key ID: A6C96C9349D2FC81
3 changed files with 9 additions and 0 deletions

View file

@ -4,5 +4,6 @@
"diagnostics.globals": ["vim"],
"workspace.library": ["$VIMRUNTIME/lua", "${3rd}/luv/library"],
"workspace.checkThirdParty": false,
"workspace.ignoreDir": [".direnv"],
"completion.callSnippet": "Replace"
}

1
.styluaignore Normal file
View file

@ -0,0 +1 @@
.direnv/

7
scripts/ci.sh Executable file
View file

@ -0,0 +1,7 @@
#!/bin/sh
set -eu
nix develop --command stylua --check .
git ls-files '*.lua' | xargs nix develop --command selene --display-style quiet
nix develop --command prettier --check .
nix develop --command lua-language-server --check . --checklevel=Warning