Skip to content

Add prettier and lint-staged #42

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

Merged
merged 6 commits into from
Jun 10, 2019
Merged

Add prettier and lint-staged #42

merged 6 commits into from
Jun 10, 2019

Conversation

afontcu
Copy link
Member

@afontcu afontcu commented Jun 9, 2019

Hi! So, this PR:

  • Installs and configures Prettier.
  • Adds lint-staged, meaning that will run prettier before committing any file.

I left Prettier as is (mostly), and since it is just a code formatter, tool, feel free to suggest any other baseline configuration 😄

I'd also love if you could pull this and make sure it works on your machine. Just in case 😇

@afontcu afontcu requested a review from dfcook June 9, 2019 17:45
@dfcook dfcook merged commit 07bdd1b into testing-library:master Jun 10, 2019
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