
eslint is a jslinter adopted by horizon, it combines both style and error checking. This commit sets up basics for enablint npm-run-lint job on infra, by adding package.json, that declares lint command. Standard openstack list of rules is used. To test: tox -e eslint Partially implements blueprint: lint-js-code Change-Id: I802d256a49d080c3f46e73bfaf98b701349d2c39
17 lines
363 B
JSON
17 lines
363 B
JSON
{
|
|
"version": "0.0.0",
|
|
"private": true,
|
|
"name": "apps-catalog",
|
|
"description": "OpenStack Apps Catalog",
|
|
"repository": "none",
|
|
"license": "Apache 2.0",
|
|
"devDependencies": {
|
|
"eslint": "^0.23.0",
|
|
"eslint-config-openstack": "1.2.0"
|
|
},
|
|
"scripts": {
|
|
"lint": "eslint --no-color openstack_catalog/web/static/js/"
|
|
},
|
|
"dependencies": {}
|
|
}
|