g0v / vaccinate

vaxx.tw is a tool to find COVID-19 Vaccine Appointments near you
http://vaxx.tw
MIT License
33 stars 20 forks source link

Add pre-commit command to run eslint fix and type check of flow #77

Closed wt-lin closed 3 years ago

wt-lin commented 3 years ago

Description

wt-lin commented 3 years ago

Hi @kevinjcliao, please check if this works after following the steps. Thank you.

wt-lin commented 3 years ago

By the way, I'd like to include backend's lint fixing command in that hook. But I'm not sure if you need that or not. How do you think?

kevinjcliao commented 3 years ago

Confirm this works. Thank you! If you want to cover Python, it would be as simple as: yarn lint; yarn tc.

kevinjcliao commented 3 years ago

I would like to include Python!

kevinjcliao commented 3 years ago

Thank you so much for your work on this!