ci: scripts + format

This commit is contained in:
Barrett Ruth 2026-03-04 13:50:44 -05:00
parent af0a44bec8
commit 6b1ba1f056
No known key found for this signature in database
GPG key ID: A6C96C9349D2FC81
4 changed files with 11 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

View file

@ -22,3 +22,5 @@ globals:
any: true
stub:
any: true
bit:
any: true