[no-unused-expressions] no-unused-expressions works not as expected with optional chaining and condition #1764
Labels
bug
Something isn't working
package: eslint-plugin
Issues related to @typescript-eslint/eslint-plugin
Repro
Expected Result
No error for line
Actual Result

Additional Info
Versions
@typescript-eslint/eslint-plugin
2.23.0
@typescript-eslint/parser
2.23.0
TypeScript
3.7.5
ESLint
6.8.0
node
11.15.0
npm
6.7.0
The text was updated successfully, but these errors were encountered: