浏览代码

Internal: Allowed empty input in the stylelint script to avoid errors when no files are found. Added missing stylelint-config-recommended dependency.

Aleksander Nowodzinski 6 年之前
父节点
当前提交
b9ed5bd2dd
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      packages/ckeditor5-watchdog/package.json

+ 2 - 2
packages/ckeditor5-watchdog/package.json

@@ -41,14 +41,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": [