Run the format script on project creation and add a .prettierrc file to JS templates #17100
Labels
area/project-creation
Related to project creation process using the commands: `yarn create quasar` and `npm init quasar`
flavour/quasar-cli-vite
flavour/quasar-cli-webpack
kind/feature 💡
Qv2 🔝
Quasar v2 issues
What happened?
after created the initial quasar v2 project without typescript, there is not .prettierrc(which is fine, the default prettier config will be used), and run prettier against src/ will modify nearly all the code, so the initial code base is not prettier clean
What did you expect to happen?
initial code is prettier clean
Reproduction URL
https://codepen.io/rstoenescu/pen/xxEvBLRx
How to reproduce?
yarn create quasar (do not turn on typescript)
cd src
prettier -w (will modify most of the vue files)
Flavour
Quasar CLI with Vite (@quasar/cli | @quasar/app-vite)
Areas
Quasar CLI Commands/Configuration (@quasar/cli | @quasar/app-webpack | @quasar/app-vite)
Platforms/Browsers
Chrome
Quasar info output
Relevant log output
Additional context
none
The text was updated successfully, but these errors were encountered: