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

Fix XO linting #141

Merged
merged 3 commits into from
Jun 22, 2018
Merged

Fix XO linting #141

merged 3 commits into from
Jun 22, 2018

Conversation

sonicdoe
Copy link
Contributor

For the most part, I’ve switched to object destructuring where applicable. For handleInput(), I’ve changed the parameters to directly receive input (since none of the other opts were being used). Finally, I’ve switched to rest parameters and the spread operator for execa.stdout() and execa.stderr() (which call execa again).

By the way, this definitely breaks Node.js v4 support but I’m guessing you’ll be dropping this version in the next release anyway.

@sindresorhus sindresorhus changed the title Fix XO tests Fix XO linting Jun 22, 2018
@sindresorhus sindresorhus merged commit 7488ce9 into sindresorhus:master Jun 22, 2018
@sonicdoe sonicdoe deleted the xo branch June 22, 2018 09:22
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