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

chore(lint): consistent trailing commas #526

Closed
wants to merge 1 commit into from

Conversation

Haroenv
Copy link
Contributor

@Haroenv Haroenv commented Jan 9, 2018

see #525 (comment)

What: updated trailing commas

Why: because that's what my eslint screamed at

How:

  1. ran yarn eslint . --fix
  2. ran yarn jest -u (trailing commas changed snapshots)

Checklist:

  • Documentation
  • Tests
  • Code complete

1. ran `yarn eslint . --fix`
2. ran `yarn jest -u` (trailing commas changed snapshots)

see emotion-js#525 (comment)
@Haroenv Haroenv mentioned this pull request Jan 9, 2018
3 tasks
@tkh44 tkh44 requested a review from emmatown January 9, 2018 18:19
@tkh44
Copy link
Member

tkh44 commented Jan 9, 2018

Did prettier change the rules for trailing commas? I'm trying to figure out what I missed.

@Haroenv
Copy link
Contributor Author

Haroenv commented Jan 9, 2018

ugh, now eslint is telling me to remove the trailing commas (it's probably a bug in prettier then 🤔)

@tkh44
Copy link
Member

tkh44 commented Jan 9, 2018

We have never had trailing commas. I wonder if there was a bad release somewhere in the chain of deps. I just pulled your branch and it was telling me to remove the commas 🤷‍♂️

@Haroenv
Copy link
Contributor Author

Haroenv commented Jan 9, 2018

@tkh44, feel free to remove those then, maybe I had the wrong dependencies in cache somehow 🤔 sorry for the noise

@Haroenv Haroenv closed this Jan 9, 2018
@Haroenv Haroenv deleted the chore/consistent-eslint branch January 9, 2018 19:14
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