Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove `merge` wherever possible #107

Closed
JPeer264 opened this issue Feb 12, 2020 · 0 comments
Closed

Remove `merge` wherever possible #107

JPeer264 opened this issue Feb 12, 2020 · 0 comments
Milestone

Comments

@JPeer264
Copy link
Owner

@JPeer264 JPeer264 commented Feb 12, 2020

E.g.:

const optionsDefault = {
  getRenamedValues: false,
  regex: false,
  addSelectorType: false,
  extend: false,
};

const options = merge({}, optionsDefault, opts);

Can be written as spread operator

@JPeer264 JPeer264 added this to the 3.0.0 milestone Feb 12, 2020
@JPeer264 JPeer264 closed this in e09944d Feb 13, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
1 participant
You can’t perform that action at this time.