1
0
Fork 0
mirror of https://codeberg.org/beerbrawl/beerbrawl.git synced 2024-09-22 21:20:52 +02:00

tree-wide: unify .editorconfig files

Signed-off-by: Christoph Heiss <christoph@c8h4.io>
This commit is contained in:
Christoph Heiss 2024-07-11 21:45:23 +02:00
parent ea458ccc3d
commit 44faae9cb1
Signed by: c8h4
GPG key ID: 73D5E7FDEE3DE49A
6 changed files with 26 additions and 40 deletions

24
.editorconfig Normal file
View file

@ -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

View file

@ -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

2
backend/.gitignore vendored
View file

@ -53,4 +53,4 @@ buildNumber.properties
/.nb-gradle/ /.nb-gradle/
### VS Code ### ### VS Code ###
.vscode/ .vscode/

View file

@ -10,4 +10,4 @@ spring:
show-sql: true show-sql: true
properties: properties:
hibernate: hibernate:
format-sql: TRUE format-sql: TRUE

View file

@ -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

View file

@ -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