root = true
# 初めの行に記述する。この記述をすることで、フォルダ以下のディレクトリのみにルールが適用される

#[*.css] // 適用したいファイルを指定
#indent_style = space // シャープでコメントできる

[*]
# すべてのファイルに適用する
charset = utf-8
# 文字コードを統一
indent_style = space
#インデントを統一する。「tab」か「 space」
indent_size = 2
# インデントの数を統一
trim_trailing_whitespace = true
# 行末のホワイトスペースを削除
insert_final_newline = true
# フォルダの最後の行に改行
end_of_line = lf

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

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

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

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

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

[*.html]
charset = utf-8
end_of_line = lf
indent_style = space
indent_size = 2

[*.yaml]
indent_style = space
indent_size = 2
