Skip to content

Commit

Permalink
remove husky (#2213)
Browse files Browse the repository at this point in the history
  • Loading branch information
thecristen authored Nov 5, 2024
1 parent 6bb59e6 commit e00996a
Show file tree
Hide file tree
Showing 8 changed files with 194 additions and 1,668 deletions.
1 change: 0 additions & 1 deletion .github/actions/setup-all/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,5 @@ runs:
shell: bash
run: |
git config --global url."https://github.com/".insteadOf ssh://git@github.com/
npm install -g husky@latest
npm install --prefix assets --package-lock-only
npm run install:ci
10 changes: 0 additions & 10 deletions .husky/pre-commit

This file was deleted.

12 changes: 0 additions & 12 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -206,18 +206,6 @@ npm install --ignore-scripts
npx pm2-runtime ./integration/monitor/ecosystem.config.js
```
## Commiting Code
When commiting code a bunch of checks are run using [git pre-commit hook](https://git-scm.com/book/en/v2/Customizing-Git-Git-Hooks)
This is configured using the tool [husky](https://typicode.github.io/husky/#/) and should install as part of the regular `npm run install` process
This allows all code changed during a commit to be linted and formatted before being commited.
If you wish to modify the checks ran during the pre-commit process the [pre-commit](.husky/pre-commit) file can be modified with any command line commands/scripts
These checks can be skipped by using the `--no-verify` flag when runnint the `commit` git command
## Additional Resources
New to the team, or looking for further developer resources?
Expand Down
Loading

0 comments on commit e00996a

Please sign in to comment.