Run ESLint on Javascript files in dashboards

Recently, some Javascript files changed locations from
"openstack_dashboard/static"

to
"openstack_dashboard/dashboards/identity/static"
and
"openstack_dashboard/dashboards/project/static"

This changes the lint task to add these directories

Change-Id: I6ceeaacd1c4e1774b7279c5cc2610a583db58b5d
Closes-Bug: #1485885
This commit is contained in:
Rajat Vig 2015-08-18 00:46:47 -07:00
parent f863e51dea
commit a35ebf799d
1 changed files with 1 additions and 1 deletions

View File

@ -23,7 +23,7 @@
"scripts": {
"postinstall": "if [ ! -d .venv ]; then tox -epy27 --notest; fi",
"test": "karma start horizon/karma.conf.js --single-run && karma start openstack_dashboard/karma.conf.js --single-run",
"lint": "eslint --no-color horizon/static openstack_dashboard/static"
"lint": "eslint --no-color */static openstack_dashboard/dashboards/*/static"
},
"dependencies": {}
}