-
-
Notifications
You must be signed in to change notification settings - Fork 24
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Husky #18
Milestone
Comments
arcticicestudio
added a commit
that referenced
this issue
Nov 17, 2018
Installed Husky, the tool that make Git hooks easy and can prevent bad Git commits, pushes and more! GH-18
arcticicestudio
added a commit
that referenced
this issue
Nov 17, 2018
The files are currently not included and might bypass the Git hooks. This commit updates the "lint:md" command to ensure the files are included when linting. GH-18
arcticicestudio
added a commit
that referenced
this issue
Nov 17, 2018
This commit includes the fixed style guide volations that have been found after the initial run of the "lint-staged" Git hooks triggered by Husky. GH-18
Merged
arcticicestudio
added a commit
that referenced
this issue
Nov 17, 2018
Integrated Husky (1), the tool that make Git hooks easy and can prevent bad Git commits, pushes and more 🐶 _woof_! >> Configuration The configuration file `.huskyrc.js` has been placed in the project root and includes the commands to run for any supported Git hook (2). It will at least contain configs for the following hooks: - `pre-commit` - Run lint-staged (GH-17) before each commit (via `lint-staged` command) to ensure all staged files are compliant to all style guides. References: (1)https://github.com/typicode/husky (2) https://github.com/typicode/husky/blob/master/DOCS.md#supported-hooks (3) https://github.com/typicode/husky/blob/master/DOCS.md#supported-hooks
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Integrate Husky, the tool that make Git hooks easy and can prevent bad Git commits, pushes and more 🐶 woof!
Configuration
The configuration file
.huskyrc.js
will be placed in the project root and includes the command to run for any supported Git hook. It will at least contain configs for the following hooks:pre-commit
- Run lint-staged (lint-staged #17) before each commit (vialint-staged
command) to ensure all staged files are compliant to all style guides.Tasks
.huskyrc.js
configuration file.The text was updated successfully, but these errors were encountered: