kibana/tasks/precommit.js
Court Ewing db2be0f411 Consolidate git file logic in lintStagedFiles task
We limit the amount of moving parts when it comes to parsing our staged
files in git by reusing the files_to_commit utility rather than the
now-defunct collectStagedFiles task.

Fixes #5781
2015-12-29 16:27:27 +00:00

7 lines
156 B
JavaScript

export default function (grunt) {
grunt.registerTask('precommit', [
'collectFilesToCommit',
'checkAddedFilenames',
'lintStagedFiles'
]);
};