瀏覽代碼

Merge branch 'i/5696'

Marek Lewandowski 6 年之前
父節點
當前提交
8dfd1b1daa
共有 2 個文件被更改,包括 8 次插入1 次删除
  1. 3 0
      packages/ckeditor5-watchdog/.stylelintrc
  2. 5 1
      packages/ckeditor5-watchdog/package.json

+ 3 - 0
packages/ckeditor5-watchdog/.stylelintrc

@@ -0,0 +1,3 @@
+{
+	"extends": "stylelint-config-ckeditor5"
+}

+ 5 - 1
packages/ckeditor5-watchdog/package.json

@@ -40,11 +40,15 @@
     "theme"
   ],
   "scripts": {
-    "lint": "eslint --quiet '**/*.js'"
+    "lint": "eslint --quiet '**/*.js'",
+    "stylelint": "stylelint --quiet --allow-empty-input 'theme/**/*.css' 'docs/**/*.css'"
   },
   "lint-staged": {
     "**/*.js": [
       "eslint --quiet"
+    ],
+    "**/*.css": [
+      "stylelint --quiet --allow-empty-input"
     ]
   },
   "eslintIgnore": [