We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 635c617 commit 3deef2dCopy full SHA for 3deef2d
lib/rules/destructuring-assignment.js
@@ -63,7 +63,7 @@ module.exports = {
63
64
function handleSFCUsage(node) {
65
// props.aProp
66
- const isPropUsed = (node.object.name === 'props') && !isAssignmentLHS(node);
+ const isPropUsed = node.object.name === 'props' && !isAssignmentLHS(node);
67
if (isPropUsed && configuration === 'always') {
68
context.report({
69
node,
0 commit comments