diff options
author | Rajat Vig <rajatv@thoughtworks.com> | 2015-08-31 12:52:10 -0700 |
---|---|---|
committer | Rajat Vig <rajatv@thoughtworks.com> | 2015-09-01 06:04:16 +0000 |
commit | 40899b8481222eae67038d4a8d685be971b1434e (patch) | |
tree | 9b8c6b9e5ab69870ae37dd1406aedb2015a473b2 /package.json | |
parent | 3e6c43f7b73c4f8d54c93dafc367cbda81f85491 (diff) | |
download | horizon-40899b8481222eae67038d4a8d685be971b1434e.tar.gz |
ESLint glob pattern not matching files for lint
The file glob pattern in package.json
*/static openstack_dashboard/dashboards/*/static
has been changed to openstack_dashboard/static and
horizon/static as only then does it run lint on the
openstack_dashboard folder.
Fixed issues in files in openstack_dashboard that
have unaddressed warnings.
Change-Id: I1ae1346281f028821afae159d471e3e87b2d8d6d
Closes-Bug: #1490704
Diffstat (limited to 'package.json')
-rw-r--r-- | package.json | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/package.json b/package.json index 062b12056..68762ca92 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 */static openstack_dashboard/dashboards/*/static" + "lint": "eslint --no-color openstack_dashboard/static horizon/static openstack_dashboard/dashboards/*/static" }, "dependencies": {} } |