tjtanjin / react-chatbotify

A modern React library for creating flexible and extensible chatbots.
https://react-chatbotify.com
MIT License
167 stars 78 forks source link

[Task] Adding pre commit hook to check for lint errors and fixing them #26

Closed mushroomgenie closed 5 months ago

mushroomgenie commented 5 months ago

Description

Added husky, a pre commit hook to check for lint errors and fixing them.

Closes #24

What change does this PR introduce?

Please select the relevant option(s).

What is the proposed approach?

Installed husky as a dev dependency. Added npm run lint command to the pre commit hook.

Checklist:

tjtanjin commented 5 months ago

LGTM! Thanks!