chore: initial commit

This commit is contained in:
2026-05-26 17:01:44 +02:00
commit 914aa493ff
33 changed files with 10008 additions and 0 deletions
Executable
+17
View File
@@ -0,0 +1,17 @@
#!/usr/bin/env bash
set -uo pipefail
cd "$(dirname "$0")/.." || exit 1
emmylua_check --warnings-as-errors --output-format=json . 2> >(grep -v '^Check finished$' >&2) \
| jq -r '
.[]
| .file as $f
| .diagnostics[]
| "\($f):\(.range.start.line + 1):\(.range.start.character + 1)"
+ ": \(["error","warning","info","hint"][.severity-1])"
+ ": \(.message | rtrimstr(" ")) [\(.code)]"
' \
| sed "s|^$PWD/||"
exit "${PIPESTATUS[0]}"