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