diff --git a/scripts/quality_test.py b/scripts/quality_test.py index 731c44060b3..5a8db28b40a 100644 --- a/scripts/quality_test.py +++ b/scripts/quality_test.py @@ -158,7 +158,7 @@ def run_eslint(): Runs eslint on static asset directories. If limit option is passed, fails build if more violations than the limit are found. """ - violations_limit = 4950 + violations_limit = 1213 command = [ "node", "--max_old_space_size=4096", diff --git a/scripts/thresholds.sh b/scripts/thresholds.sh index a2045763c14..3ef34210923 100755 --- a/scripts/thresholds.sh +++ b/scripts/thresholds.sh @@ -1,4 +1,4 @@ #!/usr/bin/env bash set -e -export ESLINT_THRESHOLD=4950 +export ESLINT_THRESHOLD=1213