enclose prettier glob filename matches, close #393

This commit is contained in:
spencerwooo
2022-02-10 10:21:41 +08:00
parent 52907c9753
commit cfdef30a06
7 changed files with 34 additions and 34 deletions
+1 -1
View File
@@ -7,7 +7,7 @@
"build": "next build",
"start": "next start",
"lint": "next lint",
"format": "prettier components/**/*.tsx config/*.js pages/**/*.{ts,tsx} {types,utils}/**/*.ts --write",
"format": "prettier 'components/**/*.tsx' 'config/*.js' 'pages/**/*.{ts,tsx}' '{types,utils}/**/*.ts' --write",
"extract": "i18next"
},
"dependencies": {