freekmurze,
@freekmurze@phpc.social avatar

🔗 Husky: How to automatically format, lint and test before you commit or push
https://tighten.com/insights/husky-how-to-automatically-format-lint-and-test-before-you-commit-or-push/

heiglandreas,
@heiglandreas@phpc.social avatar

@freekmurze Or: Poor peoples CI via git hooks.

Multiple reasons why one should actually not do that...

  • speed
  • blocks before writing meaningful commit messages
  • speed
  • can be circumvented
  • did I memtion speed?

Better: Set up autofixing in CI, make rebasing normal, use filewatches to fix things or run tests immediately

  • All
  • Subscribed
  • Moderated
  • Favorites
  • random
  • kavyap
  • ngwrru68w68
  • tacticalgear
  • DreamBathrooms
  • mdbf
  • magazineikmin
  • thenastyranch
  • Youngstown
  • Durango
  • slotface
  • everett
  • vwfavf
  • rosin
  • khanakhh
  • normalnudes
  • Leos
  • cisconetworking
  • cubers
  • InstantRegret
  • ethstaker
  • osvaldo12
  • modclub
  • anitta
  • provamag3
  • GTA5RPClips
  • tester
  • megavids
  • JUstTest
  • All magazines