wiki.ipfire.org

The community-maintained documentation platform of IPFire

User Tools

Site Tools


devel:coding-style

Coding Style

  • We use tabs.
  • We use indentations

Whitespace

  • We hate unwanted whitespace at the end of lines or blank lines white space so you have to check that your patches do not add unwanted whitespace. When you use vim you could search for whitespace with this command:
/\s\+$

Comments

Bash

Comments have to look like this:

  # Comment
  # more text
  # yet more text

One space after the # sign

devel/coding-style.txt · Last modified: 2017/06/21 08:58 by Jonatan.S