mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 17:59:23 -04:00
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.
7 lines
156 B
JavaScript
7 lines
156 B
JavaScript
export default function (grunt) {
|
|
grunt.registerTask('precommit', [
|
|
'collectFilesToCommit',
|
|
'checkAddedFilenames',
|
|
'lintStagedFiles'
|
|
]);
|
|
};
|