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:
parent
38b4be52d4
commit
bfa5c71de3
21
.eslintrc
21
.eslintrc
@ -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
|
||||
|
@ -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",
|
||||
|
Loading…
Reference in New Issue
Block a user