Closed exu3 closed 2 years ago
This pull request is being automatically deployed with Vercel (learn more).
To see the status of your deployment, click below or on the icon next to each commit.
🔍 Inspect: https://vercel.com/hackclub/contribute/7QRv6eoRXpsuWKQo8zJNcMq79BxL
✅ Preview: https://contribute-git-exu-prettier.hackclub.dev
Ooooh interesting! I'll let you and @sampoder decide if this makes sense, as you all have precedent on what we've done on other Hack Club repositories :)
@exu3 One concern I have is that, since this is a static site, people won't have prettier running on their machines. We could add instructions, but that makes a simple site a bit more complicated. So it'd be an optional prettier config, which is a bit odd. I'm not sure! What are your thoughts?
This configuration file won't do anything if you don't use Prettier. I think some people just might not be clear on what this file does, but it shouldn't cause any issues or require additional setup.
Totally cool with closing this PR if it makes things more confusing!
This PR adds a Prettier configuration file (following the style of the existing code - semicolons, double quotes, etc).
I have "format on save" enabled, and I noticed that my own Prettier config kept formatting all the files in a different style, so this PR just adds a configuration scoped to this project to keep things consistent.
This is sort of opinionated, not sure if it's desired.