8c64bda5a0
The Linux kernel code style rules have been used as a well-tested basis and sections pertaining C-specific rules – such as macros – have been removed. For it a short section on the used formatter is added for further reference. Link: https://www.kernel.org/doc/html/v5.19-rc8/process/coding-style.html Signed-off-by: Moritz Poldrack <git@moritz.sh> Signed-off-by: Robin Jarry <robin@jarry.cc>
19 lines
230 B
INI
19 lines
230 B
INI
# https://editorconfig.org/
|
|
|
|
root = true
|
|
|
|
[*]
|
|
end_of_line = lf
|
|
insert_final_newline = true
|
|
charset = utf-8
|
|
|
|
[**.go]
|
|
indent_style = tab
|
|
max_line_length = 80
|
|
tab_width = 8
|
|
|
|
[Makefile]
|
|
indent_style = tab
|
|
|
|
[**.scd]
|
|
indent_style = tab
|