Install and configure eslint and eslint-config-edx (alongside JSHint for now)

This commit is contained in:
Brian Jacobel
2016-06-21 17:12:52 -04:00
parent 2c4ab11658
commit af76273393
11 changed files with 180 additions and 40 deletions

View File

@@ -12,7 +12,8 @@ set -e
# Violations thresholds for failing the build
export PYLINT_THRESHOLD=4175
export JSHINT_THRESHOLD=7550
export JSHINT_THRESHOLD=7550 # @TODO Remove, deprecated in favor of ESLint
export ESLINT_THRESHOLD=49019
SAFELINT_THRESHOLDS=`cat scripts/safelint_thresholds.json`
export SAFELINT_THRESHOLDS=${SAFELINT_THRESHOLDS//[[:space:]]/}