diff --git a/.eslintrc.js b/.eslintrc.js index 2fd3c637..1b734cb0 100644 --- a/.eslintrc.js +++ b/.eslintrc.js @@ -161,7 +161,13 @@ module.exports = { "@typescript-eslint/no-unsafe-call": "off", "@typescript-eslint/no-unsafe-member-access": "off", "@typescript-eslint/no-unsafe-return": "off", - "@typescript-eslint/no-unused-expressions": "error", + "@typescript-eslint/no-unused-expressions": [ + "error", + { + "allowShortCircuit": true, + "allowTernary": true + } + ], "@typescript-eslint/no-unused-vars": "off", "@typescript-eslint/no-unused-vars-experimental": [ "error",