Skip to content

Commit 2f8a0d7

Browse files
committed
chore: add format of html
1 parent 85a026b commit 2f8a0d7

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

package.json

+4-2
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,10 @@
2727
"dev:e2e": "webpack serve --mode=development --config e2e/webpack.config.js",
2828
"docs": "vitepress dev docs",
2929
"docs:build": "vitepress build docs",
30-
"lint": "prettier -c --parser typescript \"{src,__tests__,e2e}/**/*.[jt]s?(x)\"",
31-
"lint:fix": "yarn run lint --write",
30+
"lint": "yarn run lint:script && yarn run lint:html",
31+
"lint:script": "prettier -c --parser typescript \"{src,__tests__,e2e,playground}/**/*.[jt]s?(x)\"",
32+
"lint:html": "prettier -c --parser html \"{playground,e2e}/**/*.html\"",
33+
"lint:fix": "yarn run lint:html --write && yarn run lint:html --write",
3234
"test:types": "tsc --build tsconfig.json",
3335
"test:dts": "tsc -p ./test-dts/tsconfig.json",
3436
"test:unit": "jest --coverage",

0 commit comments

Comments
 (0)