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 formatting with Prettier #138

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

brandonbaraban
Copy link

@brandonbaraban brandonbaraban commented Oct 14, 2023

This PR adds prettier and prettier-plugin-svelte for formatting, along with a format package.json script, and applies the formatting to the entire codebase.

With this PR, the codebase can maintain consistent styles as different people make contributions. It also makes reviewing PRs easier as changes don't include miscellaneous things like using tabs instead of spaces or vice-versa.

package-lock.json was also updated as a side effect of running npm install, because it wasn't updated since before the previous package release.

To minimize changes, the .prettierrc I added attempts to maintain most of the styles that I saw in the codebase.

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.

1 participant