Weaken unused expression rule

This commit is contained in:
Oliver Blanthorn 2023-03-10 18:18:53 +01:00
parent b6c760fb53
commit ebbfe69742
No known key found for this signature in database
GPG key ID: 2BB8C36BB504BFF3

View file

@ -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",