Bug: [no-deprecated] should allow ignoring of deprecated value #10660
Labels
accepting prs
Go ahead, send a pull request that resolves this issue
bug
Something isn't working
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://main--typescript-eslint.netlify.app/play/#ts=5.3.3&fileType=.tsx&code=PQKhAIAEBMFMAcBOsDGBDALra4TAFAoD2AdgM4bhxKqbYBqaANgK6zgC84ALAEwDchUhXAAjNIk5UEydFmiNWsfkA&eslintrc=N4KABGBEBOCuA2BTAzpAXGUEKQAIBcBPABxQGNoBLY-AWhXkoDt8B6Jge1oBNFjpEZAIb5E3dGADa4bDgDuQ6E0gAaGbKyzskIfHgc5E6Vq2aTsyADNoHALYSrlJKvXmcTIbcQPe-QSLEANV1Yb1cTAF9w7ABdaKjZOIgoiKA&tsconfig=N4KABGBEDGD2C2AHAlgGwKYCcDyiAuysAdgM6QBcYoEEkJemy0eAcgK6qoDCAFutAGsylBm3TgwAXxCSgA&tokens=false
Repro Code
ESLint Config
tsconfig
Expected Result
No linter report on
deprecatedValue
since it's configured to be allowedActual Result
Linter report on
deprecatedValue
Additional Info
This is basically just that TypeOrValueSpecifier is only used for Types right now. Relates to #10585 (review)
The text was updated successfully, but these errors were encountered: