We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ebfb5b4 commit 20158b0Copy full SHA for 20158b0
lib/rules/no-unused-vars.js
@@ -1152,7 +1152,7 @@ module.exports = {
1152
1153
// fix for { a: { b } }
1154
if (parentNode.parent.type === "ObjectPattern") {
1155
- // fix for unused variables in dectructured object with single property in variable decalartion and function parameter
+ // fix for unused variables in destructured object with single property in variable declaration and function parameter
1156
if (parentNode.parent.properties.length === 1) {
1157
return fixVariables(parentNode.parent);
1158
}
0 commit comments