mirror of https://github.com/cupcakearmy/zod.git
Add `*.md` pattern to prettier (#2476)
This commit is contained in:
parent
c5763112e2
commit
5e23b4fae4
|
@ -68,11 +68,14 @@
|
|||
"src/*.ts": [
|
||||
"eslint --cache --fix",
|
||||
"prettier --ignore-unknown --write"
|
||||
],
|
||||
"*.md": [
|
||||
"prettier --ignore-unknown --write"
|
||||
]
|
||||
},
|
||||
"scripts": {
|
||||
"prettier:check": "prettier --check src/**/*.ts deno/lib/**/*.ts --no-error-on-unmatched-pattern",
|
||||
"prettier:fix": "prettier --write src/**/*.ts deno/lib/**/*.ts --ignore-unknown --no-error-on-unmatched-pattern",
|
||||
"prettier:check": "prettier --check src/**/*.ts deno/lib/**/*.ts *.md --no-error-on-unmatched-pattern",
|
||||
"prettier:fix": "prettier --write src/**/*.ts deno/lib/**/*.ts *.md --ignore-unknown --no-error-on-unmatched-pattern",
|
||||
"lint:check": "eslint --cache --ext .ts ./src",
|
||||
"lint:fix": "eslint --cache --fix --ext .ts ./src",
|
||||
"check": "yarn lint:check && yarn prettier:check",
|
||||
|
|
Loading…
Reference in New Issue