diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 00000000000..e3fc128fcf4 --- /dev/null +++ b/.editorconfig @@ -0,0 +1,23 @@ +root = true + +[*] +indent_style = tab +indent_size = 4 +charset = utf-8 +trim_trailing_whitespace = true +insert_final_newline = true +max_line_length = 233 + +[*.json] +indent_style = space +indent_size = 2 + +[*.yml] +indent_style = space +indent_size = 2 + +[test/cases/parsing/bom/bomfile.{css,js}] +charset = utf-8-bom + +[*.md] +trim_trailing_whitespace = false