diff options
author | 2021-07-07 15:09:05 -0500 | |
---|---|---|
committer | 2021-07-07 15:09:05 -0500 | |
commit | 53fcae1a9a26e3e2e9d6aca7ec71acc13a3556ea (patch) | |
tree | f9738f01490e37787bdb9db7fc7600310a62bf48 /tools/prettier-plugin-astro/test/test-utils.js | |
parent | 20b4a600f5bff8102ff1d7469e8c586f33d31652 (diff) | |
download | astro-53fcae1a9a26e3e2e9d6aca7ec71acc13a3556ea.tar.gz astro-53fcae1a9a26e3e2e9d6aca7ec71acc13a3556ea.tar.zst astro-53fcae1a9a26e3e2e9d6aca7ec71acc13a3556ea.zip |
Remove `prettier-plugin-astro` to fix Prettier CI (#614)
* Disable embedded languages formatting so that Astro code blocks don't make prettier hang
* chore: remove prettier-plugin-astro
* chore: enable embedded languages
* chore: update yarn lock
Co-authored-by: Nate Moore <nate@skypack.dev>
Diffstat (limited to '')
-rw-r--r-- | tools/prettier-plugin-astro/test/test-utils.js | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/tools/prettier-plugin-astro/test/test-utils.js b/tools/prettier-plugin-astro/test/test-utils.js deleted file mode 100644 index c97fd82de..000000000 --- a/tools/prettier-plugin-astro/test/test-utils.js +++ /dev/null @@ -1,12 +0,0 @@ -import prettier from 'prettier'; -import { fileURLToPath } from 'url'; -/** - * format the contents of an astro file - * @param contents {string} - */ -export function format(contents) { - return prettier.format(contents, { - parser: 'astro', - plugins: [fileURLToPath(new URL('../', import.meta.url))], - }); -} |