-
Notifications
You must be signed in to change notification settings - Fork 6
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
Added pre-commit and pre-push hook #10
base: develop
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Remove .DS_Store
file from commit and make the required changes.
@@ -9,7 +9,9 @@ | |||
"lint": "tslint -c tslint.json -p tsconfig.json", | |||
"start": "npm run build && electron ./dist/main.js", | |||
"lint:fix": "eslint ./src/**/*.js ./tests/**/*.js --fix", | |||
"test": "mocha tests/spec.js --timeout 30000" | |||
"test": "mocha tests/spec.js --timeout 30000", | |||
"precommit": "npm run lint && npm test", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please upgrade the hooks configuration according to the documentation here
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done!
@@ -9,7 +9,9 @@ | |||
"lint": "tslint -c tslint.json -p tsconfig.json", | |||
"start": "npm run build && electron ./dist/main.js", | |||
"lint:fix": "eslint ./src/**/*.js ./tests/**/*.js --fix", | |||
"test": "mocha tests/spec.js --timeout 30000" | |||
"test": "mocha tests/spec.js --timeout 30000", | |||
"precommit": "npm run lint && npm test", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Also, you had to add tsc
command for checking compilation errors
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Okay, was initially confused. Added it :)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You latest commit does not have changes to this file. Please add your changes and update again.
Fixes h2org#8 * Added tsc command * Updated .travis.yml
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The changes requested have not been included. Please add those and update your PR. Thanks!
* removed linting errors * removed linting errors * removed linting errors * removed linting errors * remove one un-neccessary commit * cleared the renderer file Co-authored-by: Piyush Agrawal <[email protected]>
Please rebase, I have changed the base branch. |
f47baa3
to
9a54c84
Compare
Fixes: #9