hperrin / svelte-material-ui

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

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

Closed JL102 closed 1 year ago

JL102 commented 1 year 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 1 year ago

Thank you!