Explorar o código

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

Antoine du Hamel hai 11 meses
pai
achega
c0961a6cd9
Modificáronse 1 ficheiros con 3 adicións e 1 borrados
  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": {