Merge pull request #3636 from matrix-org/jryans/90-chars
Update code style for our 90 char life
This commit is contained in:
commit
1e6472723a
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue