summaryrefslogtreecommitdiffstats
path: root/source/development/dev_codestyle.rst
blob: f5407a20bbe504657a99a963240e8af5e414e48e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
rsyslog code style
==================

**Note**: code style is still under construction. This guide lists
some basic style requirements.

**Code that does not match the code style guide will not pass CI testing.**

The following is required right now:

  * we use ANSI C99
  * indentation is done with tabs, not spaces
  * trailing whitespace in lines is not permitted
  * lines longer than 120 characters are not permitted;
    everything over 120 chars is rejected and must be reformatted.