hperrin / svelte-material-ui

Svelte Material UI Components
https://sveltematerialui.com/
Apache License 2.0
3.27k stars 287 forks source link

fix: prettier format extremely slow because autogenerated css not excluded #638

Closed JL102 closed 7 months ago

JL102 commented 8 months ago

Since npm run format is mandatory before git lets you make a commit, it shouldn't take long to run. The .prettierignore file is out of date, leading to the auto-generated css files inside packages/site/static and /packages/svelte-material-ui/themes being included in the format list. And since the css files are very large, it takes a very long time for each file, leading to an infuriating wait time before the linting completes and you're finally allowed to commit a change.

hperrin commented 7 months ago

Thank you!