]> git.ipfire.org Git - thirdparty/vuejs/router.git/commitdiff
chore: fix lint:fix command (#945)
authorLee <55973914+PeterAlfredLee@users.noreply.github.com>
Fri, 14 May 2021 08:54:19 +0000 (16:54 +0800)
committerGitHub <noreply@github.com>
Fri, 14 May 2021 08:54:19 +0000 (10:54 +0200)
package.json

index d1d0685cee5199520e50cd61c24f2ceb78698d00..645cff4c3f560f227141c7bbddeb7669564cf4c0 100644 (file)
@@ -30,7 +30,7 @@
     "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",
+    "lint:fix": "yarn run lint:script --write && yarn run lint:html --write",
     "test:types": "tsc --build tsconfig.json",
     "test:dts": "tsc -p ./test-dts/tsconfig.json",
     "test:unit": "jest --coverage",