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

Commit

Permalink
Internal: Allowed empty input in the stylelint script to avoid errors…
Browse files Browse the repository at this point in the history
… when no files are found. Added missing stylelint-config-recommended dependency.
  • Loading branch information
oleq committed Nov 20, 2019
1 parent 1b4f5d6 commit a23b183
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions package.json
Expand Up @@ -23,7 +23,8 @@
"eslint-config-ckeditor5": "^2.0.0",
"husky": "^1.3.1",
"lint-staged": "^7.0.0",
"stylelint": "^11.1.1"
"stylelint": "^11.1.1",
"stylelint-config-recommended": "^3.0.0"
},
"engines": {
"node": ">=8.0.0",
Expand All @@ -44,14 +45,14 @@
],
"scripts": {
"lint": "eslint --quiet '**/*.js'",
"stylelint": "stylelint --quiet 'theme/**/*.css' 'docs/**/*.css'"
"stylelint": "stylelint --quiet --allow-empty-input 'theme/**/*.css' 'docs/**/*.css'"
},
"lint-staged": {
"**/*.js": [
"eslint --quiet"
],
"**/*.css": [
"stylelint --quiet"
"stylelint --quiet --allow-empty-input"
]
},
"eslintIgnore": [
Expand Down

0 comments on commit a23b183

Please sign in to comment.