Skip to content

Commit f8acabe

Browse files
committed
Add prettier for typescript
1 parent dbfd3dc commit f8acabe

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@
5959
"xo": "^0.26.0"
6060
},
6161
"scripts": {
62-
"format": "remark . -qfo && prettier --write \"**/*.js\" && xo --fix",
62+
"format": "remark . -qfo && prettier --write \"**/*.{js,ts}\" && xo --fix",
6363
"build-bundle": "browserify . -s mdastUtilTOC > mdast-util-toc.js",
6464
"build-mangle": "browserify . -s mdastUtilTOC -p tinyify > mdast-util-toc.min.js",
6565
"build": "npm run build-bundle && npm run build-mangle",

0 commit comments

Comments
 (0)