summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Caleb Jasik <calebjasik@jasik.xyz> 2021-07-19 23:06:41 -0500
committerGravatar GitHub <noreply@github.com> 2021-07-19 21:06:41 -0700
commit07e533402e234d31b7cf9741bf2d08c32eda88c0 (patch)
tree8aa81443776f90d2d5f408f6e3f93f1bc5cd83aa
parent4253683ec06a5a774525221a6b58002aa531d3eb (diff)
downloadastro-07e533402e234d31b7cf9741bf2d08c32eda88c0.tar.gz
astro-07e533402e234d31b7cf9741bf2d08c32eda88c0.tar.zst
astro-07e533402e234d31b7cf9741bf2d08c32eda88c0.zip
Update `format` script to format all files not ignored via `.prettierignore` that `prettier` has a valid parser for. (#768)
-rw-r--r--package.json2
1 files changed, 1 insertions, 1 deletions
diff --git a/package.json b/package.json
index 7e5ec0468..e5858f75d 100644
--- a/package.json
+++ b/package.json
@@ -15,7 +15,7 @@
"build:core": "lerna run build --scope astro --scope @astrojs/parser --scope @astrojs/markdown-support",
"build:vscode": "lerna run build --scope astro-languageserver --scope astro-vscode --scope @astrojs/parser",
"dev:vscode": "lerna run dev --scope astro-languageserver --scope astro-vscode --scope @astrojs/parser --parallel --stream",
- "format": "prettier -w \"**/*.{js,jsx,ts,tsx,md,json}\"",
+ "format": "prettier -w .",
"lint": "eslint \"packages/**/*.ts\"",
"test": "yarn workspace astro run test",
"test:templates": "lerna run test --scope create-astro --stream"