summaryrefslogtreecommitdiff
path: root/package.json
diff options
context:
space:
mode:
authorRajat Vig <rajatv@thoughtworks.com>2015-08-18 00:46:47 -0700
committerRajat Vig <rajatv@thoughtworks.com>2015-08-28 16:57:32 +0000
commita35ebf799d4779ebdf095a25267599ba23acbbe2 (patch)
treefb59155172826d83ed956909759e8ba282918191 /package.json
parentf863e51dea9d3f205334174e55da239a8f822423 (diff)
downloadhorizon-a35ebf799d4779ebdf095a25267599ba23acbbe2.tar.gz
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
Diffstat (limited to 'package.json')
-rw-r--r--package.json2
1 files changed, 1 insertions, 1 deletions
diff --git a/package.json b/package.json
index d7f809142..062b12056 100644
--- a/package.json
+++ b/package.json
@@ -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": {}
}