mirror of
https://github.com/vector-im/element-web.git
synced 2026-05-04 19:56:45 +02:00
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
@ -22,7 +22,7 @@ number throgh from the original code to the final application.
|
||||
General Style
|
||||
-------------
|
||||
- 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.
|
||||
- No trailing whitespace at end of lines.
|
||||
- Don't indent empty lines.
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user