From a9b4467472209ba55eda00d7b4348c9ebe13c1e2 Mon Sep 17 00:00:00 2001 From: Pan Date: Fri, 22 Mar 2019 18:15:37 +0800 Subject: [PATCH] perf[Eslint]: update eslint rules --- .eslintrc.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.eslintrc.js b/.eslintrc.js index 82ae4a94..c9775054 100644 --- a/.eslintrc.js +++ b/.eslintrc.js @@ -47,7 +47,7 @@ module.exports = { 'curly': [2, 'multi-line'], 'dot-location': [2, 'property'], 'eol-last': 2, - 'eqeqeq': [2, 'allow-null'], + 'eqeqeq': ["error", "always", {"null": "ignore"}], 'generator-star-spacing': [2, { 'before': true, 'after': true