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

Use Prettier to Auto-Format the Code #15

Closed
wants to merge 3 commits into from

Conversation

GenieTim
Copy link
Contributor

@GenieTim GenieTim commented May 1, 2022

This is a very opinionated PR; while it includes the changes from #14, its main contribution is the set-up and initial run of the opinionated code formatter Prettier. While this is an arbitrary choice — as is Prettier's default configuration — I would highly suggest you offer some configuration with a corresponding tool in order to have consistent PRs and reduce merge-conflicts from people with different auto-formatters in their IDE. This here would be my suggestion on how this could be.

One more little thing that it includes: in index.html, there seems to be an unclosed <div> and in turn a closing </article> without the corresponding opening tag — this would be fixed with this PR, too.

Thanks anyway!

index.html Outdated Show resolved Hide resolved
@rosswintle
Copy link
Owner

@GenieTim Thanks for this. Code standards are good! I appreciate the contribution.

Please don't take my lack of reply as me not being interested. I've just not used Prettier before and want to figure out what this is doing before I merge it.

Co-authored-by: Philipp Bammes <8144115+tyrann0us@users.noreply.github.com>
@rosswintle
Copy link
Owner

This will be fixed by #18 which has had the main branch merged in.

@rosswintle rosswintle closed this May 2, 2022
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.

3 participants