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

Update code style for our 90 char life
pull/21833/head
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
1 changed files with 1 additions and 1 deletions

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.