Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
danez committed Jan 8, 2024
1 parent 64bf1aa commit d99cf4e
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,9 @@ const explodedVisitors = visitors.explode<TraverseState>({
const property = memberPath.get('property');

if (
(!memberPath.node.computed || property.isStringLiteral() || property.isNumericLiteral()) &&
(!memberPath.node.computed ||
property.isStringLiteral() ||
property.isNumericLiteral()) &&
getNameOrValue(property) === state.memberName &&
toString(memberPath.get('object')) === state.localName
) {
Expand Down

0 comments on commit d99cf4e

Please sign in to comment.