git-pre-commit
git-pre-commit copied to clipboard
A pre-commit hook that ignores all the unstagged changes while performing the pre-commit command you wrote (Using Shell, Gulp, Grunt etc..)
Please, raise up gulp version since in doesn't support node v.12 https://github.com/gulpjs/gulp/issues/2324
Since this repo includes a `yarn.lock` file and git hooks, any commits will require the `yarn` command. Otherwise it will generate an error: ``` mmurphy-OSX:git-pre-commit mmurphy$ git commit events.js:167 throw...
`npm audit` is currently reporting 7 vulnerabilities in dependencies ``` found 7 vulnerabilities (2 low, 4 high, 1 critical) in 3069 scanned packages 7 vulnerabilities require semver-major dependency updates. ```...
Running `npm run test` with node v10.13.0 produces error ``` mmurphy-OSX:git-pre-commit mmurphy$ node -v v10.13.0 mmurphy-OSX:git-pre-commit mmurphy$ npm run test > [email protected] test /Users/mmurphy/src/support/git-pre-commit > gulp tests --env=development /Users/mmurphy/src/support/git-pre-commit/node_modules/require-dir/index.js:93 if...
What changes I need to add the hook on files created after June 2017 for example. This setting will be quite useful for projects moving slowly to linting.
Perhaps I am wrong, but it looks to me that it is not possible to use 'git-pre-commit' on git projects that do not have the package.json and gulpfile in the...
Test cases - tests/hooks.test.js: 1. all of the pre-commit hook files are being copied as planned 2. all of the pre-commit hook files are added with the permission to execute...