Bug: [no-unused-expressions] expression with type arguments is not flagged #7748
Closed
4 tasks done
Labels
accepting prs
Go ahead, send a pull request that resolves this issue
bug
Something isn't working
good first issue
Good for newcomers
package: eslint-plugin
Issues related to @typescript-eslint/eslint-plugin
Before You File a Bug Report Please Confirm You Have Done The Following...
Playground Link
https://typescript-eslint.io/play/#ts=5.0.4&fileType=.tsx&code=MYGwhgzhAEBiD28A8AVAfNA3tAvgWAChCB6Y6CAC3gFcQATaAIwFNoBbMAJwGtmHJo1AHbUIfQgmQQALpwCWQgOZpChAIwBuQkA&eslintrc=N4KABGBEBOCuA2BTAzpAXGUEKQAIBcBPABxQGNoBLY-AWhXkoDt8B6Jge1tidmUQAm9AB7FoKZJQ5NUGSImjQO0SODABfEOqA&tsconfig=N4KABGBEDGD2C2AHAlgGwKYCcDyiAuysAdgM6QBcYoEEkJemy0eAcgK6qoDCAFutAGsylBm3TgwAXxCSgA&tokens=false
Repro Code
ESLint Config
tsconfig
Expected Result
Expected 1 error as the expression-with-type-arguments is a pure expression.
Actual Result
No errors.
Additional Info
No response
The text was updated successfully, but these errors were encountered: