-
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
# このプロジェクトで利用されるテキストファイルのスタイルルール。
# 全てのチェックインされるテキストファイルはこれらのルールに従う必要がある。
# <https://editorconfig.org/>
#
# SPDX-FileCopyrightText: 2024 Shota FUJI <pockawoooh@gmail.com>
# SPDX-License-Identifier: AGPL-3.0-only
root = true
[*]
charset = utf-8
end_of_line = lf
insert_final_newline = true
trim_trailing_whitespace = true
indent_style = tab
[*.md]
# Markdown では末尾スペース 2 つが改行として扱われる。
trim_trailing_whitespace = true
# Protocol Buffers の公式スタイルガイドに準拠。
# <https://protobuf.dev/programming-guides/style/>
[*.proto]
indent_style = space
indent_size = 2
# YAML は 2 スペース以外のインデントを仕様レベルで読むことができない。
[*.{yml,yaml}]
indent_style = space
indent_size = 2
# terraform fmt は 2 スペース以外の指定ができない。
[*.tf]
indent_style = space
indent_size = 2
# zig fmt は 4 スペース以外の指定ができない。
[*.{zig,zon}]
indent_style = space
indent_size = 4