Skip to content

Fix prefer-destructuring issues#9263

Merged
whymarrh merged 1 commit intoMetaMask:developfrom
whymarrh:enable-prefer-destructuring
Aug 18, 2020
Merged

Fix prefer-destructuring issues#9263
whymarrh merged 1 commit intoMetaMask:developfrom
whymarrh:enable-prefer-destructuring

Conversation

@whymarrh
Copy link
Copy Markdown
Contributor

Refs #8982

See prefer-destructuring for more information.

This change enables prefer-destructuring and fixes the issues raised by the rule.

@whymarrh whymarrh force-pushed the enable-prefer-destructuring branch from 70a296c to 327bd7d Compare August 18, 2020 17:38
@whymarrh whymarrh marked this pull request as ready for review August 18, 2020 17:45
@whymarrh whymarrh requested review from a team and kumavis as code owners August 18, 2020 17:45
@whymarrh whymarrh requested a review from rekmarks August 18, 2020 17:45
See [`prefer-destructuring`](https://eslint.org/docs/rules/prefer-destructuring) for more information.

This change enables `prefer-destructuring` and fixes the issues raised by the rule.
@whymarrh whymarrh force-pushed the enable-prefer-destructuring branch from 327bd7d to b09dd19 Compare August 18, 2020 19:20
Copy link
Copy Markdown
Member

@rekmarks rekmarks left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@whymarrh whymarrh merged commit 6ab1200 into MetaMask:develop Aug 18, 2020
@whymarrh whymarrh deleted the enable-prefer-destructuring branch August 18, 2020 20:07
Gudahtt added a commit that referenced this pull request Aug 19, 2020
* origin/develop: (137 commits)
  Use @metamask/eslint-config@3.1.0 (#9275)
  Standardize scss import practices (#9183)
  Update ESLint shared config to v3 (#9274)
  Add lock icon to default networks (#9269)
  Adds toPrecisionWithoutTrailingZeros utility (#9270)
  Hide gas estimate on non-main network (#9189)
  Move the mascot component to its own directory (#9272)
  Use @metamask/controllers@2.0.5 (#9266)
  Fix padding, alignment of actionable-message; add left aligned story
  Code cleanup and simplification for actionable-message component
  Adds actionable message component and stories
  Fix lint issues (#9265)
  Fix prefer-destructuring issues (#9263)
  colocate confirm-decrypt-message page styles (#9252)
  Tidy up Migrator tests (#9264)
  Adds pulse loader component (#9259)
  Fix import/order issues (#9239)
  Fix radix issues (#9247)
  New info tooltip component (#9180)
  Improve scss naming
  ...
@whymarrh
Copy link
Copy Markdown
Contributor Author

I've created MetaMask/eslint-config#57 to update the base config

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants