Skip to content
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

Feature/preadd lint #62

Open
wants to merge 6 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .eslintignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,5 @@
**/build/*
**/docs/*
**/coverage/*
**/tests/*
**/_book/*
1 change: 1 addition & 0 deletions .husky/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
_
4 changes: 4 additions & 0 deletions .husky/pre-commit
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
#!/bin/sh
. "$(dirname "$0")/_/husky.sh"

npm run pre-commit
4 changes: 4 additions & 0 deletions .husky/pre-push
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
#!/bin/sh
. "$(dirname "$0")/_/husky.sh"

npm test
8 changes: 8 additions & 0 deletions TROUBLESHOOT.MD
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
## Husky - cannot execute pre-commit hook.
`make sure to have chmod +x set on it correctly`

## Husky - EEXIST: (...) "'.husky/_'"
`you can manually remove .husky/_ folder`

## Tests not passing
`make sure your gnache-cli is running (npm run gnache:start) in a seprate terminal instance`
14 changes: 7 additions & 7 deletions _book/gitbook/gitbook.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading