Open laoshaw opened 1 month ago
.prettierrc
to JS templates, just like with TSformat
script if install deps is chosen during installation, just like we are running lint --fix
ok, I switched to TS now which has .prettierrc, though I use no .prettierrc typically(quasar wants single quote via both .prettierrc and .eslintrc.cjs' so I will just follow that). thanks!
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