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

Commit d64ec34

Browse files
committed
Internal: Remove gulp dependency for pre-commit linting.
1 parent 5587e00 commit d64ec34

File tree

4 files changed

+13
-30
lines changed

4 files changed

+13
-30
lines changed

.eslintignore

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
src/lib/

.gitignore

-4
Original file line numberDiff line numberDiff line change
@@ -1,5 +1 @@
1-
# These files will be ignored by Git and by our linting tools:
2-
# gulp lint
3-
# gulp lint-staged
4-
51
node_modules/

gulpfile.js

-22
This file was deleted.

package.json

+12-4
Original file line numberDiff line numberDiff line change
@@ -13,13 +13,12 @@
1313
"@ckeditor/ckeditor5-upload": "^1.0.0-alpha.1"
1414
},
1515
"devDependencies": {
16-
"@ckeditor/ckeditor5-dev-lint": "^3.1.4",
1716
"@ckeditor/ckeditor5-editor-classic": "^1.0.0-alpha.1",
1817
"@ckeditor/ckeditor5-paragraph": "^1.0.0-alpha.1",
1918
"@ckeditor/ckeditor5-utils": "^1.0.0-alpha.1",
2019
"eslint-config-ckeditor5": "^1.0.6",
21-
"gulp": "^3.9.1",
22-
"guppy-pre-commit": "^0.4.0"
20+
"husky": "^0.14.3",
21+
"lint-staged": "^4.2.3"
2322
},
2423
"engines": {
2524
"node": ">=6.0.0",
@@ -37,5 +36,14 @@
3736
"lang",
3837
"src",
3938
"theme"
40-
]
39+
],
40+
"scripts": {
41+
"lint": "eslint --quiet '**/*.js'",
42+
"precommit": "lint-staged"
43+
},
44+
"lint-staged": {
45+
"**/*.js": [
46+
"eslint --quiet"
47+
]
48+
}
4149
}

0 commit comments

Comments
 (0)