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

Add prettier #57

Merged
merged 5 commits into from
Jun 30, 2020
Merged

Add prettier #57

merged 5 commits into from
Jun 30, 2020

Conversation

jakewies
Copy link
Owner

@jakewies jakewies commented Jun 27, 2020

Addresses #54.

This PR adds formatting to the project using prettier. I have run prettier on the entire project to get the initial formatting in place. From this point forward, any file being committed must first pass through prettier for formatting.

  • See the prettier.config.js file for formatting rules
  • See the .prettierignore file to see what's not being formatted

Prettier has been added as a dev dependency along with a few other tools
that run prettier on staged files before committing them. This prevents
any file from being committed that hasn't gone through the project's
formatting. Check the prettier.config.js file for details on how we
format files.
README.md Outdated Show resolved Hide resolved
@jakewies
Copy link
Owner Author

Changes made 👍

README.md Outdated Show resolved Hide resolved
@kentnek
Copy link
Collaborator

kentnek commented Jun 28, 2020

@jakewies can you revert the md/js files and reapply the updated prettyconfig on all of them? Other than that great work!

@jakewies
Copy link
Owner Author

Ya just realized there are a few MD files at the root that I hadn’t reverted. I’ll clean this up.

@jakewies
Copy link
Owner Author

@kentnek applied the changes to the md/js files. Let me know if I missed something. If it looks good you can merge 😄

@kentnek
Copy link
Collaborator

kentnek commented Jun 30, 2020

oh sorry I've been occupied with work recently. the PR looks good to me now!

@kentnek kentnek merged commit 2721e4d into master Jun 30, 2020
@kentnek kentnek mentioned this pull request Jun 30, 2020
@jakewies jakewies deleted the prettier branch July 8, 2020 01:01
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