diff --git a/.eslintrc.js b/.eslintrc.js index 44fd0a3046..cbf9bfda79 100644 --- a/.eslintrc.js +++ b/.eslintrc.js @@ -48,6 +48,7 @@ module.exports = { 'no-empty-function': ['error'], 'no-extend-native': ['error'], 'no-floating-decimal': ['error'], + 'no-lonely-if': ['error'], 'no-multi-spaces': ['error'], 'no-multiple-empty-lines': ['error', { 'max': 1 }], 'no-nested-ternary': ['error'],