You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Consider adding 1 or multiple husky hooks to check each commit for type checks, correct format of files.
This will help your customers avoid having files that are not formatted properly or fail in the pipeline later on.
I personally use 3 hooks, one to check the format, one to check the types (I have a TS project), one to do a quick build.
You can easily disable them when not needed but they run pretty quickly and avoid issues that would only be discovered when the tests run for example.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Consider adding 1 or multiple husky hooks to check each commit for type checks, correct format of files.
This will help your customers avoid having files that are not formatted properly or fail in the pipeline later on.
I personally use 3 hooks, one to check the format, one to check the types (I have a TS project), one to do a quick build.
You can easily disable them when not needed but they run pretty quickly and avoid issues that would only be discovered when the tests run for example.
Beta Was this translation helpful? Give feedback.
All reactions