summaryrefslogtreecommitdiff
path: root/.eslintrc
diff options
context:
space:
mode:
authorMichael Krotscheck <krotscheck@gmail.com>2015-11-12 14:35:48 -0800
committerMichael Krotscheck <krotscheck@gmail.com>2015-11-16 18:04:12 -0800
commitbfa5c71de389db286e093d34ab687780bfc620b4 (patch)
tree9590b8d7ee08e43abd572daa4cd9d9c85c9d946f /.eslintrc
parent38b4be52d475ae50afd587aa885a5d22ea5a53ee (diff)
downloadhorizon-bfa5c71de389db286e093d34ab687780bfc620b4.tar.gz
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
Diffstat (limited to '.eslintrc')
-rw-r--r--.eslintrc21
1 files changed, 20 insertions, 1 deletions
diff --git a/.eslintrc b/.eslintrc
index 14b4feea3..80b56f829 100644
--- a/.eslintrc
+++ b/.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 \ No newline at end of file
+ - 1