Skip to content

Commit

Permalink
build: lower eslint threshold to current violation count
Browse files Browse the repository at this point in the history
  • Loading branch information
kdmccormick committed Oct 29, 2024
1 parent 86f3d83 commit 5ed3b0e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion scripts/quality_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
2 changes: 1 addition & 1 deletion scripts/thresholds.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env bash
set -e

export ESLINT_THRESHOLD=4950
export ESLINT_THRESHOLD=1213

0 comments on commit 5ed3b0e

Please sign in to comment.