ashavijit / Meetify

A MERN Stack Video Conferencing Web app, Powered By Socket.Io
https://meetify-web-app.netlify.app/
MIT License
6 stars 1 forks source link

automate commit flow with husky to fix eslint/prettier warning before commiting #32

Closed technophile-04 closed 2 years ago

technophile-04 commented 2 years ago

Is your feature request related to a problem? Please describe.

If you someone don't have prettier installed in vscode, the unformatted code gets committed.

Describe the solution you'd like

Adding husky will automate this and will run lint:fix to fix all formatting as well as auto-fixable issue before you commit :)

Describe alternatives you've considered

Husky, lint-staged

Additional context

No response

ashavijit commented 2 years ago

@technophile-04 nice idea!!

technophile-04 commented 2 years ago

Will work on this 🙌