Enable no-unused-expressions rule (#13290)
This commit is contained in:
1 parent
86424ccc22
commit
a7d1ccb72b
1 file changed
+7
@@ -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",
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user