Skip to content

Commit c2fa93e

Browse files
comments
1 parent c6c69bf commit c2fa93e

File tree

1 file changed

+14
-4
lines changed

1 file changed

+14
-4
lines changed

.eslintrc.json

Lines changed: 14 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -67,9 +67,19 @@
6767
"selector": "BinaryExpression[operator=/[=!]==?/] Literal[value='undefined']",
6868
"message": "Do not strictly check typeof undefined (NOTE: currently this rule only detects the usage of 'undefined' string literal so this could be a misfire)"
6969
}
70-
]
71-
,
72-
"@typescript-eslint/no-unused-expressions": "off",
70+
],
7371
"@typescript-eslint/no-require-imports": "off"
74-
}
72+
},
73+
"overrides": [
74+
{
75+
"files": [
76+
"test/**/*ts"
77+
],
78+
"rules": {
79+
// chat `expect(..)` style chaining is considered
80+
// an unused expression
81+
"@typescript-eslint/no-unused-expressions": "off"
82+
}
83+
}
84+
]
7585
}

0 commit comments

Comments
 (0)