Skip to content

Commit 8dfc48c

Browse files
nderjungunikraft-bot
authored andcommitted
support: Introduce editorconfig
EditorConfig[0] specifies how an IDE configures generic styling for files for a project. This is done by introducing a top-level `.editorconfig` file within the repository. This commit sets the Unikraft standards using EditorConfig: * indentation using tabs with spacing of 8 characters; * max line lenfth of 75 characters for git commit messages; * max line length of 80 characters for standard files; * adding a new line to the end of files; and, * trimming of whitespace. [0]: https://editorconfig.org Signed-off-by: Alexander Jung <[email protected]> squash Reviewed-by: Simon Kuenzer <[email protected]> Tested-by: Unikraft CI <[email protected]> GitHub-Pull-Request: unikraft#209
1 parent 825b115 commit 8dfc48c

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

.editorconfig

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
root = true
2+
3+
[*]
4+
charset = utf-8
5+
end_of_line = lf
6+
indent_size = 8
7+
indent_style = tab
8+
max_line_length = 80
9+
insert_final_newline = true
10+
trim_trailing_whitespace = true
11+
12+
[.git/**]
13+
max_line_length = 75
14+

0 commit comments

Comments
 (0)