Open
Description
A cool feature of svelte-ionic-app
is that it can install Prettier for you.
However, the project files aren't currently linted with Prettier; after creating a new project, Prettier changes 7 files.
Steps to reproduce
npm create ionic-svelte-app@latest
- Say yes to everything.
cd myNewApp
npm run format
Prettier reformats the following files:
modified: capacitor.config.ts
modified: src/routes/+layout.svelte
modified: src/routes/+layout.ts
modified: src/routes/+page.svelte
modified: src/theme/variables.css
modified: svelte.config.js
modified: tsconfig.json
At a minimum, I think these should be cleaned up in the repo so that when you create a new project with Prettier, the files are already "prettified."
But it might be good to go ahead and reformat the whole repo with Prettier. I did this locally and it's a huge number of changes, but as far as I know, Prettier shouldn't break anything, so it's something to consider.
Metadata
Metadata
Assignees
Labels
No labels