]> git.ipfire.org Git - thirdparty/vuejs/router.git/commitdiff
chore: add format of html
authorEduardo San Martin Morote <posva13@gmail.com>
Wed, 12 May 2021 16:16:44 +0000 (18:16 +0200)
committerEduardo San Martin Morote <posva13@gmail.com>
Wed, 12 May 2021 16:17:52 +0000 (18:17 +0200)
package.json

index 67db3f4f640ca52a80f4225e883081252a1595d8..455e3078398aaeb0b373f00adcda4d5179573971 100644 (file)
     "dev:e2e": "webpack serve --mode=development --config e2e/webpack.config.js",
     "docs": "vitepress dev docs",
     "docs:build": "vitepress build docs",
-    "lint": "prettier -c --parser typescript \"{src,__tests__,e2e}/**/*.[jt]s?(x)\"",
-    "lint:fix": "yarn run lint --write",
+    "lint": "yarn run lint:script && yarn run lint:html",
+    "lint:script": "prettier -c --parser typescript \"{src,__tests__,e2e,playground}/**/*.[jt]s?(x)\"",
+    "lint:html": "prettier -c --parser html \"{playground,e2e}/**/*.html\"",
+    "lint:fix": "yarn run lint:html --write && yarn run lint:html --write",
     "test:types": "tsc --build tsconfig.json",
     "test:dts": "tsc -p ./test-dts/tsconfig.json",
     "test:unit": "jest --coverage",