From 2ed7e3d1cd75ccf139de16fee10e4f69a961f48a Mon Sep 17 00:00:00 2001 From: Damien Elmes Date: Fri, 13 Mar 2020 20:46:09 +1000 Subject: [PATCH] ignore .json files --- .github/scripts/trailing-newlines.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/scripts/trailing-newlines.sh b/.github/scripts/trailing-newlines.sh index 7d77afefa..e2009df8c 100755 --- a/.github/scripts/trailing-newlines.sh +++ b/.github/scripts/trailing-newlines.sh @@ -2,7 +2,7 @@ set -e -files=$(rg -l '[^\n]\z' -g '!*.{svg,scss}' || true) +files=$(rg -l '[^\n]\z' -g '!*.{svg,scss,json}' || true) if [ "$files" != "" ]; then echo "the following files are missing a newline on the last line:" echo $files