Skip to content
This repository was archived by the owner on Jan 21, 2025. It is now read-only.

Commit 2736f16

Browse files
committed
feat(formatter): dprint as astro, css, html, markdown, etc, formatter
dprint (https://dprint.dev/) supports astro and the like formatting but not linting. We should run this before running biome; for in our repo biome is configured in a non-standard way. This is because we imported previous eslint + prettier config; and althought biome aims to be a drop-in replacement for both -- and mostly, succeeds --, we just got a tangle of legacy code mess. Ideally, we should run both dprint and biome as vanilla as possible. Moreover, we should aim to integrate biome to dprint.
1 parent d40a27a commit 2736f16

File tree

1 file changed

+23
-0
lines changed

1 file changed

+23
-0
lines changed

dprint.json

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
{
2+
"typescript": {},
3+
"json": {},
4+
"markdown": {},
5+
"toml": {},
6+
"dockerfile": {},
7+
"malva": {},
8+
"markup": {},
9+
"yaml": {},
10+
"graphql": {},
11+
"excludes": ["**/node_modules", "**/*-lock.json"],
12+
"plugins": [
13+
"https://plugins.dprint.dev/typescript-0.93.2.wasm",
14+
"https://plugins.dprint.dev/json-0.19.4.wasm",
15+
"https://plugins.dprint.dev/markdown-0.17.8.wasm",
16+
"https://plugins.dprint.dev/toml-0.6.3.wasm",
17+
"https://plugins.dprint.dev/dockerfile-0.3.2.wasm",
18+
"https://plugins.dprint.dev/g-plane/malva-v0.11.0.wasm",
19+
"https://plugins.dprint.dev/g-plane/markup_fmt-v0.16.0.wasm",
20+
"https://plugins.dprint.dev/g-plane/pretty_yaml-v0.5.0.wasm",
21+
"https://plugins.dprint.dev/g-plane/pretty_graphql-v0.2.1.wasm"
22+
]
23+
}

0 commit comments

Comments
 (0)