diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 000000000..d48bee093 --- /dev/null +++ b/.editorconfig @@ -0,0 +1,24 @@ +; top-most EditorConfig file +root = true + +; Unix-style newlines +[*] +charset = utf-8 +end_of_line = LF +insert_final_newline = true +trim_trailing_whitespace = true + +[*.{php, html, ts}] +indent_style = space +indent_size = 4 + +[*.{js, json, scss}] +indent_style = space +indent_size = 2 + +[*.md] +max_line_length = off +trim_trailing_whitespace = false + +[COMMIT_EDITMSG] +max_line_length = 72