Skip to content

Commit

Permalink
chore: remove parentheses
Browse files Browse the repository at this point in the history
Co-authored-by: Jordan Harband <[email protected]>
  • Loading branch information
ed-jinyoung-park and ljharb authored Sep 21, 2020
1 parent 635c617 commit 3deef2d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/rules/destructuring-assignment.js
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ module.exports = {

function handleSFCUsage(node) {
// props.aProp
const isPropUsed = (node.object.name === 'props') && !isAssignmentLHS(node);
const isPropUsed = node.object.name === 'props' && !isAssignmentLHS(node);
if (isPropUsed && configuration === 'always') {
context.report({
node,
Expand Down

0 comments on commit 3deef2d

Please sign in to comment.