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
This commit is contained in:
Michael Krotscheck 2015-11-23 10:35:36 -08:00
parent 363a341e9a
commit 91ceb5c6fa
1 changed files with 0 additions and 1 deletions

View File

@ -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