From a35ebf799d4779ebdf095a25267599ba23acbbe2 Mon Sep 17 00:00:00 2001 From: Rajat Vig Date: Tue, 18 Aug 2015 00:46:47 -0700 Subject: [PATCH] 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 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index d7f8091424..062b120564 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": {} }