Bug: [no-deprecated] doesn't report on shorthand property in an object expression #10545
Closed
4 tasks done
Labels
accepting prs
Go ahead, send a pull request that resolves this issue
bug
Something isn't working
locked due to age
Please open a new issue if you'd like to say more. See https://typescript-eslint.io/contributing.
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.7.2&fileType=.tsx&code=PQKhAIAEBMFMAcBOsDGBDALra4TAFBwoA2ay4KA9gHYDOG4W9AXOPYgJbUDmA3Pvip0GAM0qVwAXnABvfOHDBg4ZPEqIMtCuuQoMxAJ7zGsFifoAafAF8BQ%2BuABGZKbONK2AC0oBXYjlV1BkcfBmhKU2oAcgxjJgwrWyA&eslintrc=N4KABGBEBOCuA2BTAzpAXGUEKQAIBcBPABxQGNoBLY-AWhXkoDt8B6Jge1oBNFjpEZAIb5E3dFETRoHaJHBgAviEVA&tsconfig=N4KABGBEDGD2C2AHAlgGwKYCcDyiAuysAdgM6QBcYoEEkJemy0eAcgK6qoDCAFutAGsylBm3TgwAXxCSgA&tokens=false
Repro Code
ESLint Config
tsconfig
Expected Result
I expected the rule to report, as TypeScript shows this usage as deprecated.
Actual Result
The rule misses to report this.
Additional Info
No response
The text was updated successfully, but these errors were encountered: