Ver código fonte

Merge branch 'i/5696'

Marek Lewandowski 6 anos atrás
pai
commit
8dfd1b1daa

+ 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": [