tools: Update tidy.sh and related configs

This commit is contained in:
Taiki Endo
2025-02-04 01:29:05 +09:00
parent 400052b460
commit 4666e04560
3 changed files with 922 additions and 311 deletions

View File

@@ -11,12 +11,14 @@ indent_style = space
insert_final_newline = true
trim_trailing_whitespace = true
[*.{json,md,rb,sh,yml,yaml}]
[*.{css,html,json,md,rb,sh,yml,yaml}]
indent_size = 2
[*.{js,yml,yaml}]
quote_type = single
[*.sh]
# https://google.github.io/styleguide/shellguide.html#s5.3-pipelines
binary_next_line = true
# https://google.github.io/styleguide/shellguide.html#s5.5-case-statement
switch_case_indent = true