root = true

[*]
charset = utf-8
end_of_line = lf
trim_trailing_whitespace = true
insert_final_newline = true
indent_style = space
indent_size = 4

[*.{toml,yaml,yml,json,jsonc,md,html,jinja2,js,ts,css,svg,xml}]
indent_size = 2

[*.md]
trim_trailing_whitespace = false

# MkDocs Materialはネストリストに4スペースのインデントが必要
[docs/**.md]
indent_size = 4

[Makefile]
indent_style = tab

[*.{bat,bas,cls,dcm,frm,vbs}]
charset = unset
end_of_line = crlf
