This adds pnpm format as a script to apply prettier formatting. It also formats existing JS, TS, and Vue files.
I have another PR in the works and wanted to make sure the code all looked the same, so I figured adding Prettier would be the best way to do that — let me know if you have another preferred formatting method.
I copied the contents of the .gitignore into the .prettierignore as a rule, because I wasn't sure which files don't need to be ignored by Prettier, and I figured more is better.
This adds
pnpm format
as a script to apply prettier formatting. It also formats existing JS, TS, and Vue files.I have another PR in the works and wanted to make sure the code all looked the same, so I figured adding Prettier would be the best way to do that — let me know if you have another preferred formatting method.
I copied the contents of the .gitignore into the .prettierignore as a rule, because I wasn't sure which files don't need to be ignored by Prettier, and I figured more is better.