Enable no-unused-expressions rule (#13290)

This commit is contained in:
fisker Cheung authored and GitHub committed 2022-08-16 23:58:14 +08:00
1 parent 86424ccc22
commit a7d1ccb72b
1 file changed
+7
+7
View File
@@ -43,6 +43,13 @@ module.exports = {
"no-return-await": "error",
"no-unneeded-ternary": "error",
"no-useless-return": "error",
"no-unused-expressions": [
"error",
{
allowShortCircuit: true,
allowTernary: true,
},
],
"no-unused-vars": [
"error",
{