Commit graph

19 commits

Author SHA1 Message Date
Michael Telatynski
d22985f12e Migrate string refs over to createRef
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2019-12-08 12:16:17 +00:00
J. Ryan Stinnett
8f79661725 Update code style for our 90 char life
We've been using 90 chars for JS code for quite a while now, but for some
reason, the code style guide hasn't admitted that, so this adjusts it to match
ESLint settings.
2019-11-20 10:30:42 +00:00
Michael Kohler
8eb07197cc Rename UPPER_CAMEL_CASE to UPPER_SNAKE_CASE in Coding Style 2019-10-06 13:08:46 +02:00
J. Ryan Stinnett
757181c322 Update React guide in code style
This updates React guidance to prefer JS classes and adds additional info about
how to handle specific situations when using them.

Signed-off-by: J. Ryan Stinnett <jryans@gmail.com>
2018-12-06 16:34:54 -06:00
Michael Telatynski
73d68c5513 no leading lines for else,finally,catch etc 2017-05-18 23:03:34 +01:00
Michael Telatynski
2ac3371ea4 Don't suggest vars!! 2017-05-18 22:51:22 +01:00
Richard van der Hoff
86a24fb5de Fix some markdown ih the code style doc 2016-11-01 11:33:06 +00:00
Matthew Hodgson
8349ea4b0e fix code style for ES6 classes 2016-11-01 10:58:56 +00:00
Aviral Dasgupta
b62622a814 Improve autocomplete behaviour
Fixes vector-im/vector-web#1761
2016-09-13 15:46:02 +05:30
David Baker
e00f3d9334 Mark code blocks as javascript 2016-07-11 16:28:41 +01:00
David Baker
513492e1bf Change line length as per PR discussion 2016-07-11 16:27:17 +01:00
David Baker
a28a335df4 More newlines for formatting 2016-07-11 16:21:21 +01:00
David Baker
8d1d37c103 Try newline to fix code style formatting 2016-07-11 16:19:14 +01:00
David Baker
ffbe045fcc Change to const-by-default 2016-07-11 10:10:51 +01:00
David Baker
0fdc2d817c mark as jsx 2016-07-08 15:59:34 +01:00
David Baker
1a3bc814e1 clarify event handlers 2016-07-08 15:58:18 +01:00
David Baker
afa6acc20a All the trailing commas 2016-07-08 15:42:42 +01:00
David Baker
04728ae03b PR fixes + more general notes 2016-07-07 12:09:02 +01:00
David Baker
56c73b68a9 Use markdown
because the rst wasn't formatting and we use md for everything else in this repo, and in a document that talks about consistency...
2016-07-04 17:23:38 +01:00
Renamed from code_style.rst (Browse further)