Merge pull request #13792 from edx/zoldak/adjust-lint-thresholds
Adjust lint thresholds
This commit is contained in:
@@ -11,8 +11,8 @@ set -e
|
||||
###############################################################################
|
||||
|
||||
# Violations thresholds for failing the build
|
||||
export PYLINT_THRESHOLD=3750
|
||||
export ESLINT_THRESHOLD=10162
|
||||
export PYLINT_THRESHOLD=3550
|
||||
export ESLINT_THRESHOLD=9850
|
||||
|
||||
SAFELINT_THRESHOLDS=`cat scripts/safelint_thresholds.json`
|
||||
export SAFELINT_THRESHOLDS=${SAFELINT_THRESHOLDS//[[:space:]]/}
|
||||
|
||||
@@ -1,19 +1,19 @@
|
||||
{
|
||||
"rules": {
|
||||
"javascript-concat-html": 176,
|
||||
"javascript-concat-html": 172,
|
||||
"javascript-escape": 7,
|
||||
"javascript-interpolate": 37,
|
||||
"javascript-jquery-append": 91,
|
||||
"javascript-jquery-html": 222,
|
||||
"javascript-jquery-append": 89,
|
||||
"javascript-jquery-html": 216,
|
||||
"javascript-jquery-insert-into-target": 26,
|
||||
"javascript-jquery-insertion": 22,
|
||||
"javascript-jquery-insertion": 21,
|
||||
"javascript-jquery-prepend": 9,
|
||||
"mako-html-entities": 0,
|
||||
"mako-invalid-html-filter": 19,
|
||||
"mako-invalid-html-filter": 13,
|
||||
"mako-invalid-js-filter": 197,
|
||||
"mako-js-html-string": 0,
|
||||
"mako-js-missing-quotes": 0,
|
||||
"mako-missing-default": 201,
|
||||
"mako-missing-default": 195,
|
||||
"mako-multiple-page-tags": 0,
|
||||
"mako-unknown-context": 0,
|
||||
"mako-unparseable-expression": 0,
|
||||
@@ -21,12 +21,12 @@
|
||||
"python-close-before-format": 0,
|
||||
"python-concat-html": 27,
|
||||
"python-custom-escape": 13,
|
||||
"python-deprecated-display-name": 46,
|
||||
"python-deprecated-display-name": 45,
|
||||
"python-interpolate-html": 66,
|
||||
"python-parse-error": 0,
|
||||
"python-requires-html-or-text": 0,
|
||||
"python-wrap-html": 256,
|
||||
"python-wrap-html": 252,
|
||||
"underscore-not-escaped": 617
|
||||
},
|
||||
"total": 2032
|
||||
"total": 2002
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user