Enable consistent-return

Require return statements to either always or never specify values.
http://eslint.org/docs/rules/consistent-return

Change-Id: I920de978135459222e86488da56ab05643608975
This commit is contained in:
Shaoquan Chen 2015-09-01 19:37:50 -07:00
parent 08d0ddcc1c
commit 7b9849a378
1 changed files with 1 additions and 1 deletions

View File

@ -191,7 +191,7 @@ rules:
# Require return statements to either always or never specify values
# http://eslint.org/docs/rules/consistent-return
consistent-return: 0 # TODO(krotscheck): Discuss & Activate
consistent-return: 2
# Specify curly brace conventions for all control statements
# http://eslint.org/docs/rules/curly