Enhancement: [no-deprecated] Allow should support properties inside types #11083
Closed
4 tasks done
Labels
enhancement: plugin rule option
New rule option for an existing eslint-plugin rule
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
triage
Waiting for team members to take a look
Before You File a Proposal Please Confirm You Have Done The Following...
My proposal is suitable for this project
Link to the rule's documentation
https://typescript-eslint.io/rules/no-deprecated/
Description
When specifying allow you can't allow a property. For example in lib dom I want to allow keyCode under KeyboardEvent.
Fail
Pass
Additional Info
I think maybe allowing
KeyboardEvent.keyCode
should be passed to allow nested properties... But not sure if it is flexible enoughThe text was updated successfully, but these errors were encountered: