mirror of https://github.com/zulip/zulip.git
.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:
parent
02252c255a
commit
ba6ed1e177
|
@ -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
|
|
||||||
|
|
Loading…
Reference in New Issue