-
1
-
2
-
3
-
4
-
5
-
6
-
7
-
8
-
9
-
10
-
11
-
12
-
13
-
14
-
15
-
16
-
17
-
18
-
19
-
20
-
21
-
22
-
23
-
24
-
25
-
26
-
27
-
28
-
29
-
30
-
31
-
32
-
33
-
34
-
35
-
36
-
37
-
38
-
39
-
40
-
41
-
42
-
43
-
44
-
45
-
46
-
47
-
48
-
49
// dprint (コードフォーマッタ) の設定ファイル。
// <https://dprint.dev/>
//
// SPDX-FileCopyrightText: 2024 Shota FUJI <pockawoooh@gmail.com>
// SPDX-License-Identifier: AGPL-3.0-only
{
"biome": {
"lineWidth": 90
},
"markdown": {
"lineWidth": 100
},
"exec": {
"commands": [
{
"exts": ["proto"],
"command": "bunx buf format {{file_path}}"
},
{
"exts": ["gleam"],
"command": "gleam format --stdin"
}
]
},
"yaml": {},
"toml": {
"useTabs": true
},
"markup": {
"useTabs": true,
"styleIndent": true
},
"malva": {
"useTabs": true
},
"plugins": [
"https://plugins.dprint.dev/markdown-0.17.8.wasm",
// "Biome is a fast formatter for JavaScript, TypeScript, JSX, TSX, JSON, CSS and GraphQL..."
"https://plugins.dprint.dev/biome-0.7.1.wasm",
"https://plugins.dprint.dev/exec-0.5.0.json@8d9972eee71fa1590e04873540421f3eda7674d0f1aae3d7c788615e7b7413d0",
"https://plugins.dprint.dev/g-plane/pretty_yaml-v0.5.0.wasm",
// "HTML, Vue, Svelte, Astro, Angular, Jinja, Twig, Nunjucks, and Vento files via markup_fmt."
"https://plugins.dprint.dev/g-plane/markup_fmt-v0.18.0.wasm",
"https://plugins.dprint.dev/toml-0.6.3.wasm",
// "Configurable, smart and fast CSS, SCSS, Sass and Less formatter..."
// Biome の CSS は `:state()` がパースエラーになり使い物にならないため、品質の高いこちらを利用している。
"https://plugins.dprint.dev/g-plane/malva-v0.11.0.wasm"
]
}