-
There are some examples of configuring custom tasks in Lefthook (non-hooks), but seem to be prohibited by I'm leaning towards "no" because Lefthook is currently making no distinction and placing custom tasks in But most heavy convoluted tasks used to be build tasks, and those are being offloaded to more capable buid tools like Vite, so maybe Lefthook can make a stance to disallow custom tasks? Although for my npm |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Hey! This is not prohibited, it's just an uncommon way of using lefthook. Basically lefthook is supposed to be used with git hooks, that's why |
Beta Was this translation helpful? Give feedback.
Hey! This is not prohibited, it's just an uncommon way of using lefthook. Basically lefthook is supposed to be used with git hooks, that's why
lefthook validate
checks only for existing Git hooks and complains on custom hooks. But this must not confuse you if you want to go beyond the common scope :)