diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 000000000000..f6a54e4dd2c5 --- /dev/null +++ b/.editorconfig @@ -0,0 +1,18 @@ +# http://editorconfig.org + +root = true + +[*] +charset = utf-8 +indent_style = space +indent_size = 2 +end_of_line = lf +insert_final_newline = true +trim_trailing_whitespace = true + +[dropdown-toggle.js] +trim_trailing_whitespace = false +insert_final_newline = false + +[htmlparser.js] +insert_final_newline = false