Add eslint rule "no-lonely-if"

This commit is contained in:
Guillaume Gomez 2022-06-11 13:16:23 +02:00
parent 7092d42c04
commit 64ac29bc1a

View File

@ -84,5 +84,6 @@ module.exports = {
"no-implicit-globals": "error", "no-implicit-globals": "error",
"no-implied-eval": "error", "no-implied-eval": "error",
"no-label-var": "error", "no-label-var": "error",
"no-lonely-if": "error",
} }
}; };