RN: Allow `X == null` in ESLint

Reviewed By: voideanvalue

Differential Revision: D2908714

fb-gh-sync-id: a5f382fb3a71517fdab4c809311e78323e284fd9
This commit is contained in:
Tim Yung 2016-02-06 00:39:32 -08:00 committed by facebook-github-bot-6
parent 8f6e074bd6
commit 087eeda616
1 changed files with 1 additions and 1 deletions

View File

@ -107,7 +107,7 @@
"curly": 1, // specify curly brace conventions for all control statements
"default-case": 0, // require default case in switch statements (off by default)
"dot-notation": 1, // encourages use of dot notation whenever possible
"eqeqeq": 1, // require the use of === and !==
"eqeqeq": [1, "allow-null"], // require the use of === and !==
"guard-for-in": 0, // make sure for-in loops have an if statement (off by default)
"no-alert": 1, // disallow the use of alert, confirm, and prompt
"no-caller": 1, // disallow use of arguments.caller or arguments.callee