editorconfig: Use [[shell]] section for shfmt options.

Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
Anders Kaseorg 2024-02-22 13:09:03 -08:00 committed by Anders Kaseorg
parent 8b8c43163f
commit 12699cdb1d
1 changed files with 3 additions and 2 deletions

View File

@ -8,8 +8,9 @@ indent_style = space
insert_final_newline = true insert_final_newline = true
trim_trailing_whitespace = true trim_trailing_whitespace = true
binary_next_line = true # for shfmt [[shell]]
switch_case_indent = true # for shfmt binary_next_line = true
switch_case_indent = true
[{*.{js,json,ts},check-openapi}] [{*.{js,json,ts},check-openapi}]
max_line_length = 100 max_line_length = 100