.editorconfig: Add .scss, .hbs; drop weirder rules.

For example, nobody uses 4 space indents for .yml.

Signed-off-by: Anders Kaseorg <anders@zulipchat.com>
This commit is contained in:
Anders Kaseorg 2020-04-22 13:40:18 -07:00 committed by Tim Abbott
parent 02252c255a
commit ba6ed1e177
1 changed files with 2 additions and 6 deletions

View File

@ -6,7 +6,7 @@ charset = utf-8
trim_trailing_whitespace = true trim_trailing_whitespace = true
insert_final_newline = true insert_final_newline = true
[*.{sh,py,pyi,js,ts,json,yml,xml,css,md,markdown,handlebars,html}] [*.{sh,py,pyi,js,ts,json,xml,css,scss,hbs,html}]
indent_style = space indent_style = space
indent_size = 4 indent_size = 4
@ -16,10 +16,6 @@ max_line_length = 110
[*.{js,ts}] [*.{js,ts}]
max_line_length = 100 max_line_length = 100
[*.{svg,rb,pp,pl}] [*.{svg,rb,pp}]
indent_style = space indent_style = space
indent_size = 2 indent_size = 2
[*.cfg]
indent_style = space
indent_size = 8