Enable no-unneeded-ternary

This enables the no-unneeded ternary rule.

http://eslint.org/docs/rules/no-unneeded-ternary

Change-Id: I6f24b63634df64be58f829a8a703037d88b5684b
This commit is contained in:
Michael Krotscheck 2015-08-27 17:48:54 -07:00
parent 165bb5bde2
commit d536295478
1 changed files with 1 additions and 1 deletions

View File

@ -657,7 +657,7 @@ rules:
# Disallow the use of Boolean literals in conditional expressions
# http://eslint.org/docs/rules/no-unneeded-ternary
no-unneeded-ternary: 0 # TODO(krotscheck): Discuss & Activate
no-unneeded-ternary: 2
# Require or disallow padding inside curly braces
# http://eslint.org/docs/rules/object-curly-spacing