diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 0000000..9930560 --- /dev/null +++ b/.editorconfig @@ -0,0 +1,24 @@ +root = true + +[*] +end_of_line = lf +trim_trailing_whitespace = true +insert_final_newline = true +charset = utf-8 +indent_style = space +indent_size = 2 + +# backend +[*.{java,kt,xml}] +indent_size = 4 +ij_kotlin_allow_trailing_comma = true +ij_kotlin_allow_trailing_comma_on_call_site = true + +# markdown +[*.md] +max_line_length = off +trim_trailing_whitespace = false + +# misc +[*.{yml,yaml,json}] +indent_size = 2 diff --git a/backend/.editorconfig b/backend/.editorconfig deleted file mode 100644 index 0e2a18d..0000000 --- a/backend/.editorconfig +++ /dev/null @@ -1,13 +0,0 @@ -root = true - -[*] -end_of_line = lf -trim_trailing_whitespace = true -insert_final_newline = false -charset = utf-8 -indent_style = space -indent_size = 4 -tab_width = 4 - -[*.{yml,yaml,json,sql}] -indent_size = 2 \ No newline at end of file diff --git a/backend/.gitignore b/backend/.gitignore index ffdb6ad..e0e208a 100644 --- a/backend/.gitignore +++ b/backend/.gitignore @@ -53,4 +53,4 @@ buildNumber.properties /.nb-gradle/ ### VS Code ### -.vscode/ \ No newline at end of file +.vscode/ diff --git a/backend/src/test/resources/application-test.yml b/backend/src/test/resources/application-test.yml index a6ba304..7c24f60 100644 --- a/backend/src/test/resources/application-test.yml +++ b/backend/src/test/resources/application-test.yml @@ -10,4 +10,4 @@ spring: show-sql: true properties: hibernate: - format-sql: TRUE \ No newline at end of file + format-sql: TRUE diff --git a/e2e/.editorconfig b/e2e/.editorconfig deleted file mode 100644 index ff9b6fc..0000000 --- a/e2e/.editorconfig +++ /dev/null @@ -1,12 +0,0 @@ -root = true - -[*] -charset = utf-8 -indent_style = space -indent_size = 2 -insert_final_newline = true -trim_trailing_whitespace = true - -[*.md] -max_line_length = off -trim_trailing_whitespace = false diff --git a/frontend/.editorconfig b/frontend/.editorconfig deleted file mode 100644 index 6e87a00..0000000 --- a/frontend/.editorconfig +++ /dev/null @@ -1,13 +0,0 @@ -# Editor configuration, see http://editorconfig.org -root = true - -[*] -charset = utf-8 -indent_style = space -indent_size = 2 -insert_final_newline = true -trim_trailing_whitespace = true - -[*.md] -max_line_length = off -trim_trailing_whitespace = false