瀏覽代碼

meta: add prettier to `.md` pre-commit hooks

Antoine du Hamel 11 月之前
父節點
當前提交
c0961a6cd9
共有 1 個文件被更改,包括 3 次插入1 次删除
  1. 3 1
      package.json

+ 3 - 1
package.json

@@ -13,7 +13,9 @@
     "*.{css,html,json,scss,vue,yaml,yml}": "prettier -w",
     "*.md": [
       "remark --silently-ignore -i .remarkignore -foq",
-      "eslint --fix"
+      "eslint --fix",
+      "prettier -w",
+      "eslint"
     ]
   },
   "remarkConfig": {