CI: Adding basic formatting tests (#509)

better names

Using dedicated eclint image

Reconfiguring editorconfig

Removing intellij-specific configuration and making adjustments.

Final improvements

Minor improvements.

end_of_line = lf

Adding basic formatting tests.

Co-authored-by: 6543 <6543@obermui.de>
Reviewed-on: https://gitea.com/gitnex/GitNex/pulls/509
Reviewed-by: 6543 <6543@noreply.gitea.io>
This commit is contained in:
opyale
2020-05-27 18:09:55 +00:00
committed by 6543
parent 34f8f82b63
commit f1eb632d9b
2 changed files with 65 additions and 10 deletions

17
.editorconfig Normal file
View File

@@ -0,0 +1,17 @@
[*]
charset = utf-8
end_of_line = lf
indent_size = 4
indent_style = space
insert_final_newline = true
max_line_length = 150
[*.java]
indent_style = tab
max_line_length = 220
[*.json]
indent_size = 2
[{*.yml,*.yaml}]
indent_size = 2