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 global prettier config, run it on commit, and prettify the codebase #546

Merged
merged 9 commits into from
Oct 28, 2021

Conversation

Jwhiles
Copy link
Contributor

@Jwhiles Jwhiles commented Oct 15, 2021

So we had lots of prettier config files in this code base, but no enforcement that code matched the rules, and nothing to cause prettier to be run other than the whims of whoever is working on a feature.

To give us more consistent code styles, and to boost my LOC contributed stats - I've added a global prettier config, and then run prettier on the whole codebase.

Reviewers, I suggest looking through this commit by commit - as the otherwise there is a lot of noise from reformatting.

If we are happy with these changes - we should still hold off on merging this until the Gatsby changes are merged - as I don't want to cause the worst merge conflict of all time.

@Jwhiles Jwhiles requested a review from a team as a code owner October 15, 2021 14:49
@andipaetzold andipaetzold changed the title feat: [] Add global prettier config, run it on commit, and prettify the codebase chore: [] Add global prettier config, run it on commit, and prettify the codebase Oct 15, 2021
@andipaetzold
Copy link
Contributor

@Jwhiles Do you want to remove prettier dev dependencies from all apps/packages as well?

@Jwhiles
Copy link
Contributor Author

Jwhiles commented Oct 15, 2021

@andipaetzold I knew I missed something

@andipaetzold
Copy link
Contributor

@Jwhiles Let's make that diff bigger!

@TylerBarnes
Copy link
Contributor

Nice to see this :D we were thinking about this as well while working on #543

@Jwhiles Jwhiles merged commit be65241 into master Oct 28, 2021
@Jwhiles Jwhiles deleted the prettier branch October 28, 2021 09:54
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.

4 participants