Fix Your Mistakes, Dont Commit Them Pre Commit Git Hook Checks with Husky and Lint Staged
It s time to stop committing broken tests, ugly code, type errors and lint errors to your git repository. With Husky, we can hook into git s precommit hook to only allow code into our git repository that passes all of those above checks. Using lintstaged we can make it more efficient to focus our energy on the changed files. Course Want to go deeper with Join me in my Next Level course where over 29 videos and 8 hours of content we ll build a full application from start to finish. We use TypeScript, GraphQL, Prisma, Apollo, Mapbox, Firebase and lots more.
|
|