File: dev_codestyle.rst

package info (click to toggle)
rsyslog 8.2512.0-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 30,464 kB
  • sloc: ansic: 123,809; sh: 42,109; makefile: 5,962; javascript: 1,842; python: 1,222; lex: 607; yacc: 193; perl: 162; sql: 103; tcl: 9; ruby: 2
file content (15 lines) | stat: -rw-r--r-- 492 bytes parent folder | download | duplicates (5)
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.