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:
parent
165bb5bde2
commit
d536295478
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue