Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
E
edx-platform
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
edx
edx-platform
Commits
32d0fc7c
Commit
32d0fc7c
authored
Nov 16, 2015
by
Christine Lytwynec
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #10622 from edx/clytwynec/jshint
Clytwynec/jshint
parents
fb348772
9aa1f2b7
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
7 deletions
+5
-7
.jshintignore
+2
-2
pavelib/quality.py
+2
-4
scripts/all-tests.sh
+1
-1
No files found.
.jshintignore
View file @
32d0fc7c
common/static/js
/vendor
lms/static/js/vendor
**
/vendor
node_modules
pavelib/quality.py
View file @
32d0fc7c
...
...
@@ -272,11 +272,9 @@ def run_jshint(options):
jshint_report
=
jshint_report_dir
/
"jshint.report"
_prepare_report_dir
(
jshint_report_dir
)
jshint_directories
=
[
"common/static/js"
,
"cms/static/js"
,
"lms/static/js"
]
sh
(
"jshint {
lis
t} --config .jshintrc >> {jshint_report}"
.
format
(
list
=
(
" "
.
join
(
jshint_directories
))
,
jshint_report
=
jshint_report
"jshint {
roo
t} --config .jshintrc >> {jshint_report}"
.
format
(
root
=
Env
.
REPO_ROOT
,
jshint_report
=
jshint_report
),
ignore_error
=
True
)
...
...
scripts/all-tests.sh
View file @
32d0fc7c
...
...
@@ -12,7 +12,7 @@ set -e
# Violations thresholds for failing the build
export
PYLINT_THRESHOLD
=
5650
export
JSHINT_THRESHOLD
=
370
0
export
JSHINT_THRESHOLD
=
939
0
doCheckVars
()
{
if
[
-n
"
$CIRCLECI
"
]
;
then
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment