Skip to content
Snippets Groups Projects
Commit 4a1b47de authored by Christof Schulze's avatar Christof Schulze Committed by Matthias Schiffer
Browse files

docs: dev/basics: add rules for coding guide (#970)

* use tabs instead of spaces
* use jsonfilter for speed
parent d8bb9783
No related branches found
No related tags found
No related merge requests found
......@@ -55,4 +55,11 @@ should be considered:
- Is the script doing more than just executing external commands? if so, use lua
- Is the script parsing/editing json-data? If so, use lua for speed
- When using sh, use jsonfilter instead of json_* functions for speed
Code formatting may sound like a topic for the pedantic, however it helps if
the code in the project is formatted in the same way. The following rules
apply:
- use tabs instead of spaces
- trailing whitespaces must be eliminated
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment