diff --git a/.editorconfig b/.editorconfig index 22ceb20..4c82263 100644 --- a/.editorconfig +++ b/.editorconfig @@ -3,18 +3,33 @@ # top-most EditorConfig file root = true -# Unix-style newlines with a newline ending every file [*] end_of_line = lf +charset = utf-8 trim_trailing_whitespace = true insert_final_newline = true -# Matches multiple files with brace expansion notation -[*] +# Space in JavaScript +[**.js] +indent_style = space +indent_size = 2 -# Set default charset -charset = utf-8 +# Tabs in Less +[**.less] +indent_style = tab +indent_size = 2 + +# Tabs in CSS +[**.css] +indent_style = tab +indent_size = 2 +# Space in PHP [**.php] indent_style = space -indent_size = 4 \ No newline at end of file +indent_size = 4 + +# Tabs in HTML +[**.html] +indent_style = tab +indent_size = 2