Skip to content

Git hooks

Dmitry Usik edited this page Mar 30, 2021 · 3 revisions

🤔 Intro

In order to check the code hygiene before git actions, git hooks are implemented. It uses husky and lint-staged under the hood.

🐶 Husky configuration

Hook Action
pre-commit lint-staged
pre-push yarn verify

🔨 Scripts

Script Description
verify Compiles typescript files, runs the linter and executes unit tests.
Clone this wiki locally