8
0

gulpfile.js 424 B

123456789101112131415
  1. /**
  2. * @license Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
  3. * For licensing, see LICENSE.md.
  4. */
  5. /* eslint-env node */
  6. 'use strict';
  7. const gulp = require( 'gulp' );
  8. const ckeditor5Lint = require( '@ckeditor/ckeditor5-dev-lint' );
  9. gulp.task( 'lint', () => ckeditor5Lint.lint() );
  10. gulp.task( 'lint-staged', () => ckeditor5Lint.lintStaged() );
  11. gulp.task( 'pre-commit', [ 'lint-staged' ] );