From 3d927b4452f29d79c45a7d7d5743ea48ae3c30a1 Mon Sep 17 00:00:00 2001 From: Oscar Wallberg Date: Thu, 7 May 2026 16:51:30 +0200 Subject: [PATCH] build(lint): treat warnings as errors --- scripts/lint | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/lint b/scripts/lint index 43c1a9e..ee5646b 100755 --- a/scripts/lint +++ b/scripts/lint @@ -3,7 +3,7 @@ set -uo pipefail cd "$(dirname "$0")/.." || exit 1 -emmylua_check --output-format=json . 2> >(grep -v '^Check finished$' >&2) \ +emmylua_check --warnings-as-errors --output-format=json . 2> >(grep -v '^Check finished$' >&2) \ | jq -r ' .[] | .file as $f