Running eslint in quiet mode with color
We have a ton of warnings. This makes it difficult to locate linting errors. This patch adds an npm script for developers to run eslint in quiet mode with color. Change-Id: Ie1ecc201d025c428d15b310b78e9c343a341aed3 Closes-Bug: #1546736
This commit is contained in:
parent
e8fec35f71
commit
8123d9ce34
@ -23,7 +23,8 @@
|
||||
"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 openstack_dashboard/static horizon/static openstack_dashboard/dashboards/*/static"
|
||||
"lint": "eslint --no-color openstack_dashboard/static horizon/static openstack_dashboard/dashboards/*/static",
|
||||
"lintq": "eslint --quiet openstack_dashboard/static horizon/static openstack_dashboard/dashboards/*/static"
|
||||
},
|
||||
"dependencies": {}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user