Skip to content

Commit 5e23b4f

Browse files
authoredJun 4, 2023
Add *.md pattern to prettier (#2476)
1 parent c576311 commit 5e23b4f

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed
 

‎package.json

+5-2
Original file line numberDiff line numberDiff line change
@@ -68,11 +68,14 @@
6868
"src/*.ts": [
6969
"eslint --cache --fix",
7070
"prettier --ignore-unknown --write"
71+
],
72+
"*.md": [
73+
"prettier --ignore-unknown --write"
7174
]
7275
},
7376
"scripts": {
74-
"prettier:check": "prettier --check src/**/*.ts deno/lib/**/*.ts --no-error-on-unmatched-pattern",
75-
"prettier:fix": "prettier --write src/**/*.ts deno/lib/**/*.ts --ignore-unknown --no-error-on-unmatched-pattern",
77+
"prettier:check": "prettier --check src/**/*.ts deno/lib/**/*.ts *.md --no-error-on-unmatched-pattern",
78+
"prettier:fix": "prettier --write src/**/*.ts deno/lib/**/*.ts *.md --ignore-unknown --no-error-on-unmatched-pattern",
7679
"lint:check": "eslint --cache --ext .ts ./src",
7780
"lint:fix": "eslint --cache --fix --ext .ts ./src",
7881
"check": "yarn lint:check && yarn prettier:check",

0 commit comments

Comments
 (0)
Please sign in to comment.