Enabled eqeqeq

This rule enforces === and !== usage, rather than relying on the
rather obscure falsyness comparison within javascript.

http://eslint.org/docs/rules/eqeqeq

Change-Id: Ib038d1021a00973ef924d106c78b7e1caff913cd
This commit is contained in:
Michael Krotscheck 2015-08-27 15:56:10 -07:00
parent 165bb5bde2
commit fc8f6c423a

View File

@ -215,7 +215,7 @@ rules:
# Require the use of === and !==
# http://eslint.org/docs/rules/eqeqeq
eqeqeq: 0 # TODO(krotscheck): Discuss & Activate
eqeqeq: 2
# Make sure for-in loops have an if statement
# http://eslint.org/docs/rules/guard-for-in