eduardconstantin / storybook-gpt

Storybook GPT is a web application for generating Storybook stories from React components using OpenAI API
https://storybook-gpt.vercel.app
MIT License
25 stars 17 forks source link

Add prettier to the project #9

Closed seog-jun closed 1 year ago

seog-jun commented 1 year ago

Fixes #8

Hi, I created the PR to add Prettier to the project and added Husky and pretty-quick to apply Prettier automatically when you make git commits. Also, I updated scripts in package.json to add 2 commands: format and check-format, you can use the commands manually.

Let me know if there are files that you don't want to apply Prettier, and I can update .prettierignore file, it depends on your preference. Thanks

vercel[bot] commented 1 year ago

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
storybook-gpt ✅ Ready (Inspect) Visit Preview 💬 Add feedback Oct 6, 2023 5:30pm
seog-jun commented 1 year ago

The current tabWidth is set to 4, do you want to make it 2?

eduardconstantin commented 1 year ago

The current tabWidth is set to 4, do you want to make it 2?

Yes, please!