-
-
Notifications
You must be signed in to change notification settings - Fork 4.8k
docs: typo in comment for unused variables handling #19870
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Hi @leopardracer!, thanks for the Pull Request The pull request title isn't properly formatted. We ask that you update the pull request title to match this format, as we use it to generate changelogs and automate releases.
To Fix: You can fix this problem by clicking 'Edit' next to the pull request title at the top of this page. Read more about contributing to ESLint here |
✅ Deploy Preview for docs-eslint canceled.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi @leopardracer, thanks for the PR. Can you also sign the CLA.
lib/rules/no-unused-vars.js
Outdated
@@ -1152,7 +1152,7 @@ module.exports = { | |||
|
|||
// fix for { a: { b } } | |||
if (parentNode.parent.type === "ObjectPattern") { | |||
// fix for unused variables in dectructured object with single property in variable decalartion and function parameter | |||
// fix for unused variables in dectructured object with single property in variable declaration and function parameter |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
// fix for unused variables in dectructured object with single property in variable declaration and function parameter | |
// fix for unused variables in destructured object with single property in variable declaration and function parameter |
Seems there is an another typo.
Hi @leopardracer!, thanks for the Pull Request The pull request title isn't properly formatted. We ask that you update the pull request title to match this format, as we use it to generate changelogs and automate releases.
To Fix: You can fix this problem by clicking 'Edit' next to the pull request title at the top of this page. Read more about contributing to ESLint here |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM. Thanks.
Description:
Corrects a typo in the comment within the no-unused-vars rule, improving code clarity and documentation.