Skip to content
This repository has been archived by the owner on Jun 26, 2020. It is now read-only.

Commit

Permalink
Updated ckeditor5-dev-lint.
Browse files Browse the repository at this point in the history
  • Loading branch information
Reinmar committed Dec 30, 2016
1 parent 15a61d9 commit aceefef
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 11 deletions.
15 changes: 5 additions & 10 deletions gulpfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,18 +8,13 @@
'use strict';

const gulp = require( 'gulp' );

const config = {
ROOT_DIR: '.',
WORKSPACE_DIR: '..',

// Files ignored by jshint and jscs tasks. Files from .gitignore will be added automatically during tasks execution.
IGNORED_FILES: [
const ckeditor5Lint = require( '@ckeditor/ckeditor5-dev-lint' )( {
// Files ignored by `gulp lint` task.
// Files from .gitignore will be added automatically during task execution.
ignoredFiles: [
'src/lib/**'
]
};

const ckeditor5Lint = require( '@ckeditor/ckeditor5-dev-lint' )( config );
} );

gulp.task( 'lint', ckeditor5Lint.lint );
gulp.task( 'lint-staged', ckeditor5Lint.lintStaged );
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"ckeditor5-utils": "ckeditor/ckeditor5-utils"
},
"devDependencies": {
"@ckeditor/ckeditor5-dev-lint": "^1.0.1",
"@ckeditor/ckeditor5-dev-lint": "^2.0.0",
"ckeditor5-editor-classic": "ckeditor/ckeditor5-editor-classic",
"ckeditor5-enter": "ckeditor/ckeditor5-enter",
"ckeditor5-heading": "ckeditor/ckeditor5-heading",
Expand Down

0 comments on commit aceefef

Please sign in to comment.