kibana/tasks/precommit.js
Spencer 9ed7e81b62 Backport eslint updates to 5.x (#10139)
* [eslint] update eslint config to 0.3.0

* [eslint] autofix

* [fixtures/hits] reformat to comply with max-len lint rule

* [eslint] enable no-var and autofix

* [eslint] enable prefer-const and autofix

* [eslint] fix autofix-incompatible no-var and prefer-const violations

* [eslint] enable quotes+no-extra-semi and autofix
2017-02-06 21:27:07 -07:00

7 lines
155 B
JavaScript

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