toplenboren / simple-git-hooks

A simple git hooks manager for small projects
MIT License
1.32k stars 43 forks source link

Sharable configuration support #24

Closed JounQin closed 3 years ago

JounQin commented 3 years ago

I'm still using husky@4 because we share husky config in all of my projects:

// .huskyrc.js
modue.exports = require('@1stg/husky-confog')
toplenboren commented 3 years ago

It seems like if we add an ability to parse configuration from simple-git-hooks.js or simple-pre-commit.js then sharable config would work

I think we should start working on this feature after we release the #21

JounQin commented 3 years ago

@toplenboren Are you working on this? Or I can raise a PR.

toplenboren commented 3 years ago

@JounQin no, currently I'm not working on it.
Please feel free to raise a PR

JounQin commented 3 years ago

@toplenboren Please check #37