diff --git a/.editorconfig b/.editorconfig index c6c8b36..4f4d652 100644 --- a/.editorconfig +++ b/.editorconfig @@ -1,9 +1,15 @@ root = true [*] -indent_style = space -indent_size = 2 end_of_line = lf -charset = utf-8 -trim_trailing_whitespace = true insert_final_newline = true +trim_trailing_whitespace = true +charset = utf-8 + +[*.js] +indent_style = space +indent_size = 2 + +[{package.json,*.yml,*.cjson}] +indent_style = space +indent_size = 2