1
0
Fork 0
mirror of https://codeberg.org/Codeberg/pages-server.git synced 2025-09-12 20:50:57 +00:00

Add editorconfig, fix files and lint via ci

This commit is contained in:
6543 2022-11-11 23:51:45 +01:00
parent 91b54bef29
commit 8e67d28c4f
No known key found for this signature in database
GPG key ID: B8BE6D610E61C862
9 changed files with 41 additions and 12 deletions

17
.editorconfig Normal file
View file

@ -0,0 +1,17 @@
root = true
[*]
indent_style = space
indent_size = 2
tab_width = 2
end_of_line = lf
charset = utf-8
trim_trailing_whitespace = true
insert_final_newline = true
[*.go]
indent_style = tab
[*.md]
trim_trailing_whitespace = false
indent_size = 1