Skip to content

Commit

Permalink
Remove git hooks support
Browse files Browse the repository at this point in the history
The `ghooks` package doesn't work well with GUI git tools.  They're
aware of that and working on the issue (see
ghooks-org/ghooks#40), but for now I'm
removing them from this PR.

I'll watch that issue and re-consider once they've resolved it.

Even if you opt out of the hooks, they still have to run just enough to
know to opt out.
  • Loading branch information
randycoulman committed Jul 15, 2016
1 parent ee78ac2 commit e27c389
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 13 deletions.
2 changes: 0 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
node_modules/
public/
.tmp/
.opt-in
.opt-out
11 changes: 0 additions & 11 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,13 +16,6 @@
"test:watch": "npm run test -- --watch --reporter min",
"validate": "npm-run-all --parallel test lint"
},
"config": {
"ghooks": {
"pre-push": "opt --out pre-push --exec 'npm run validate'",
"post-checkout": "opt --out post-checkout --exec 'npm install'",
"post-merge": "opt --out post-merge --exec 'npm install'"
}
},
"repository": {
"type": "git",
"url": "git+https://github.com/CodingZeal/react-boilerplate.git"
Expand Down Expand Up @@ -96,10 +89,6 @@
"webpack": "^1.13.1",
"webpack-dev-server": "1.14.0"
},
"devDependencies": {
"ghooks": "^1.2.4",
"opt-cli": "^1.4.2"
},
"babel": {
"presets": [
"react",
Expand Down

0 comments on commit e27c389

Please sign in to comment.