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: add .prettierrc #3131

Merged
merged 1 commit into from Sep 20, 2018
Merged

chore: add .prettierrc #3131

merged 1 commit into from Sep 20, 2018

Conversation

francoischalifour
Copy link
Member

@francoischalifour francoischalifour commented Sep 19, 2018

We rely on ESLint for our Prettier configuration but when using Jest's expect().toMatchInlineSnapshot(), the Prettier configuration is not used (the file gets overwritten with the default Prettier config).

With .prettierrc, we ensure that we all work with the same Prettier configuration, including this Jest functionality.

@algobot
Copy link
Contributor

algobot commented Sep 19, 2018

Deploy preview for algolia-instantsearch ready!

Built with commit 1142b5b

https://deploy-preview-3131--algolia-instantsearch.netlify.com

@francoischalifour francoischalifour merged commit ef731cc into develop Sep 20, 2018
5 checks passed
@francoischalifour francoischalifour deleted the chore/prettierrc branch Sep 20, 2018
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.

None yet

3 participants