diff options
author | Iker Pedrosa <ipedrosa@redhat.com> | 2023-03-14 16:41:53 +0100 |
---|---|---|
committer | Serge Hallyn <serge@hallyn.com> | 2023-04-03 10:42:22 -0500 |
commit | d40c58dc3be57b4d97030ab8d340d17fc74e18cd (patch) | |
tree | 65ead82966b3d26b3404c44a2dfd1591190cb7ed | |
parent | 1f15ea59559f346ad812422cffb488c154817fc2 (diff) |
doc: add coding style
Signed-off-by: Iker Pedrosa <ipedrosa@redhat.com>
-rw-r--r-- | doc/contributions/coding_style.md | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/doc/contributions/coding_style.md b/doc/contributions/coding_style.md new file mode 100644 index 00000000..b8ae4171 --- /dev/null +++ b/doc/contributions/coding_style.md @@ -0,0 +1,12 @@ +# Coding style + +* For a general guidance refer to the +[Linux kernel coding style](https://www.kernel.org/doc/html/latest/process/coding-style.html) + +* Patches that change the existing coding style are not welcome, as they make +downstream porting harder for the distributions + +## Indentation + +Tabs are preferred over spaces for indentation. Loading the `.editorconfig` +file in your preferred IDE may help you configure it. |