template.nvim/Justfile
Snoweuph 4121d31b96
All checks were successful
Quality Check / Quality Checks (push) Successful in 6s
setup
2024-07-03 02:51:01 +02:00

14 lines
313 B
Makefile

_default:
just --choose
# Lint All Files
lint:
@stylua lua/
# Static code Analysis
stan:
#!/bin/sh
status=$(lua-language-server --logpath="./log" --chechklevel=Error --check lua/)
if ! echo "$status" | grep -qF "Diagnosis completed, no problems found"; then
cat ./log/check.json | jq && exit 1
fi