|
|
@@ -14,6 +14,8 @@ const config = {
|
|
|
]
|
|
|
};
|
|
|
|
|
|
-require( './dev/tasks/lint/tasks' )( config );
|
|
|
+const ckeditor5Lint = require( 'ckeditor5-dev-task-lint' )( config );
|
|
|
|
|
|
+gulp.task( 'lint', ckeditor5Lint.lint );
|
|
|
+gulp.task( 'lint-staged', ckeditor5Lint.lintStaged );
|
|
|
gulp.task( 'pre-commit', [ 'lint-staged' ] );
|