Merge pull request #3636 from matrix-org/jryans/90-chars

Update code style for our 90 char life
This commit is contained in:
J. Ryan Stinnett 2019-11-20 15:03:02 +00:00 committed by GitHub
commit 1e6472723a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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.