mirror of https://github.com/vector-im/riot-web
Merge pull request #3636 from matrix-org/jryans/90-chars
Update code style for our 90 char lifepull/21833/head
commit
1e6472723a
|
@ -22,7 +22,7 @@ number throgh from the original code to the final application.
|
||||||
General Style
|
General Style
|
||||||
-------------
|
-------------
|
||||||
- 4 spaces to indent, for consistency with Matrix Python.
|
- 4 spaces to indent, for consistency with Matrix Python.
|
||||||
- 120 columns per line, but try to keep JavaScript code around the 80 column mark.
|
- 120 columns per line, but try to keep JavaScript code around the 90 column mark.
|
||||||
Inline JSX in particular can be nicer with more columns per line.
|
Inline JSX in particular can be nicer with more columns per line.
|
||||||
- No trailing whitespace at end of lines.
|
- No trailing whitespace at end of lines.
|
||||||
- Don't indent empty lines.
|
- Don't indent empty lines.
|
||||||
|
|
Loading…
Reference in New Issue