-
-
Notifications
You must be signed in to change notification settings - Fork 2.8k
Closed as not planned
Labels
duplicateThis issue or pull request already existsThis issue or pull request already existsenhancement: plugin rule optionNew rule option for an existing eslint-plugin ruleNew rule option for an existing eslint-plugin rulelocked due to agePlease open a new issue if you'd like to say more. See https://typescript-eslint.io/contributing.Please open a new issue if you'd like to say more. See https://typescript-eslint.io/contributing.package: eslint-pluginIssues related to @typescript-eslint/eslint-pluginIssues related to @typescript-eslint/eslint-plugin
Description
Before You File a Proposal Please Confirm You Have Done The Following...
- I have searched for related issues and found none that match my proposal.
- I have searched the current rule list and found no rules that match my proposal.
- I have read the FAQ and my problem is not listed.
My proposal is suitable for this project
- I believe my proposal would be useful to the broader TypeScript community (meaning it is not a niche proposal).
Link to the rule's documentation
https://typescript-eslint.io/rules/no-unused-vars#options
Description
The rule should support all options of the base rule like mentioned in the documentation.
Fail
https://eslint.org/play#eyJvcHRpb25zIjp7InBhcnNlck9wdGlvbnMiOnsic291cmNlVHlwZSI6Im1vZHVsZSJ9fSwidGV4dCI6Ii8qZXNsaW50IG5vLXVudXNlZC12YXJzOiBbXCJlcnJvclwiLCB7IFwicmVwb3J0VXNlZElnbm9yZVBhdHRlcm5cIjogdHJ1ZSwgXCJ2YXJzSWdub3JlUGF0dGVyblwiOiBcIltpSV1nbm9yZWRcIiB9XSovXG5cbnZhciBmaXJzdFZhcklnbm9yZWQgPSAxO1xudmFyIHNlY29uZFZhciA9IDI7XG5jb25zb2xlLmxvZyhmaXJzdFZhcklnbm9yZWQsIHNlY29uZFZhcik7In0=Pass
https://eslint.org/play#eyJvcHRpb25zIjp7InBhcnNlck9wdGlvbnMiOnsic291cmNlVHlwZSI6Im1vZHVsZSJ9fSwidGV4dCI6Ii8qZXNsaW50IG5vLXVudXNlZC12YXJzOiBbXCJlcnJvclwiLCB7IFwicmVwb3J0VXNlZElnbm9yZVBhdHRlcm5cIjogdHJ1ZSwgXCJ2YXJzSWdub3JlUGF0dGVyblwiOiBcIltpSV1nbm9yZWRcIiB9XSovXG5cbnZhciBmaXJzdFZhciA9IDE7XG52YXIgc2Vjb25kVmFyID0gMjtcbmNvbnNvbGUubG9nKGZpcnN0VmFyLCBzZWNvbmRWYXIpOyJ9Additional Info
No response
Metadata
Metadata
Assignees
Labels
duplicateThis issue or pull request already existsThis issue or pull request already existsenhancement: plugin rule optionNew rule option for an existing eslint-plugin ruleNew rule option for an existing eslint-plugin rulelocked due to agePlease open a new issue if you'd like to say more. See https://typescript-eslint.io/contributing.Please open a new issue if you'd like to say more. See https://typescript-eslint.io/contributing.package: eslint-pluginIssues related to @typescript-eslint/eslint-pluginIssues related to @typescript-eslint/eslint-plugin