diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 00000000..fa5787fe --- /dev/null +++ b/.editorconfig @@ -0,0 +1,18 @@ +# https://editorconfig.org + +root = true + +[*] +charset = utf-8 +end_of_line = lf +indent_size = 4 +indent_style = space +insert_final_newline = true +trim_trailing_whitespace = true + +[*.yaml] +indent_size = 2 + + +[*.yml] +indent_size = 2 diff --git a/app/.editorconfig b/app/.editorconfig index 5ce64346..ae6caa62 100644 --- a/app/.editorconfig +++ b/app/.editorconfig @@ -1,19 +1,12 @@ # https://editorconfig.org +# note: the files in ./composer actually use 4 spaces instead of tabs + root = true [*] charset = utf-8 end_of_line = lf -indent_size = 4 indent_style = tab insert_final_newline = true trim_trailing_whitespace = true - -[*.feature] -indent_size = 2 -indent_style = space - -[*.yml] -indent_size = 2 -indent_style = space