Upgraded eslint-config-openstack to 1.2.3

This updates eslint-config-openstack to 1.2.3, and downgrades the
new rules so we can tackle them one at a time.

Change-Id: I3d7a20a6141a8748a60ceefcd33a1310456302dd
This commit is contained in:
Michael Krotscheck 2015-11-12 14:35:48 -08:00
parent 38b4be52d4
commit bfa5c71de3
2 changed files with 22 additions and 3 deletions

View File

@ -22,6 +22,25 @@ env:
# Below we adjust rules specific to horizon's usage of openstack's linting
# rules, and its own plugin inclusions.
rules:
#############################################################################
# Disabled Rules from eslint-config-openstack
#############################################################################
valid-jsdoc: 1
no-undefined: 1
brace-style: 1
no-multi-spaces: 1
no-unused-vars: 1
strict: 1
no-extra-parens: 1
eqeqeq: 1
consistent-return: 1
callback-return: 1
radix: 1
guard-for-in: 1
block-scoped-var: 1
semi-spacing: 1
no-redeclare: 1
no-new: 1
#############################################################################
# Angular Plugin Customization
@ -33,4 +52,4 @@ rules:
# Remove after migrating to angular 1.4 or later.
angular/ng_no_cookiestore:
- 1
- 1

View File

@ -6,8 +6,8 @@
"repository": "none",
"license": "Apache 2.0",
"devDependencies": {
"eslint": "1.2.0",
"eslint-config-openstack": "1.2.2",
"eslint": "1.2.1",
"eslint-config-openstack": "1.2.3",
"eslint-plugin-angular": "0.4.0",
"jasmine-core": "2.2.0",
"karma": "0.12.31",