summaryrefslogtreecommitdiff
path: root/.eslintrc
diff options
context:
space:
mode:
authorMichael Krotscheck <krotscheck@gmail.com>2015-11-23 10:35:36 -0800
committerMichael Krotscheck <krotscheck@gmail.com>2015-12-23 09:47:17 -0800
commit91ceb5c6fa129f9f031592f6352320864fcdd2cf (patch)
tree1b7f935304501dc1025c3b95528475c7b4e2ae72 /.eslintrc
parent363a341e9a82d0864d369be84e1ba4470d049e32 (diff)
downloadhorizon-91ceb5c6fa129f9f031592f6352320864fcdd2cf.tar.gz
Enable consistent-return
This rule enables the "consistent-return" eslint rule from eslint-config-openstack, and corrects any linting errors found. http://eslint.org/docs/rules/consistent-return Change-Id: Icf048ff81d3a1339a27a15c42822c293d335d259
Diffstat (limited to '.eslintrc')
-rw-r--r--.eslintrc1
1 files changed, 0 insertions, 1 deletions
diff --git a/.eslintrc b/.eslintrc
index daaed5c31..b77f85c84 100644
--- a/.eslintrc
+++ b/.eslintrc
@@ -29,7 +29,6 @@ rules:
no-undefined: 1
brace-style: 1
no-extra-parens: 1
- consistent-return: 1
callback-return: 1
guard-for-in: 1
block-scoped-var: 1