template.nvim/Justfile
Snoweuph 1cc3deafd1
Some checks failed
Quality Check / Quality Checks (push) Failing after 2s
setup
2024-07-03 02:49:47 +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