1
0
mirror of https://github.com/vector-im/hydrogen-web.git synced 2025-01-10 20:17:32 +01:00

early start of code style

This commit is contained in:
Bruno Windels 2020-08-31 16:19:15 +02:00
parent cb940bf143
commit 6c4243eac7

7
codestyle.md Normal file

@ -0,0 +1,7 @@
# Code-style
- methods that return a promise should always use async/await
otherwise synchronous errors can get swallowed
- only named exports, no default exports
otherwise it becomes hard to remember what was a default/named export