Commit Graph

12 Commits (1e3c1450189dcc54c44dc61494805b18acabb76b)

Author SHA1 Message Date
David Baker 5f1f018a30 Fundamental behaviour, not return type 2024-05-10 16:52:19 +01:00
David Baker f2da5fcf2c
Fix typos and clarify wording
Co-authored-by: Richard van der Hoff <1389908+richvdh@users.noreply.github.com>
2024-05-10 16:49:05 +01:00
David Baker 8ba3f53d2c Hopefully clarify 2024-05-10 10:48:11 +01:00
David Baker 36571edb95 Prettier 2024-05-09 10:53:33 +01:00
David Baker 3a159beb21 Add code style rule for multiple return types 2024-05-09 10:42:26 +01:00
David Baker aae59b93e6
Re-write the rule about casting to be clearer (#26317)
This is the proposal from the comments on https://github.com/vector-im/element-web/pull/26220
(so effectively an alternative to that PR, if you like).
2023-10-09 14:34:36 +01:00
Richard van der Hoff 40f95a6c06
Deprecate `$spacing` variables (#25175)
Per https://github.com/matrix-org/matrix-react-sdk/pull/10686, these don't make
much sense at the moment.
2023-04-21 15:12:08 +01:00
Michael Weimann ece117b33f
Improve CSS class naming style guide (#25173) 2023-04-21 12:54:57 +02:00
Richard van der Hoff b9b52c8c06
`code_style.md`: Add notes on comments (#24990) 2023-03-30 12:28:22 +01:00
Michael Weimann 9a55019d65
Align code_style.md with prettier (#24124) 2023-01-02 14:32:33 +01:00
Michael Weimann 7921a6cbf8
Apply prettier formatting 2022-12-09 13:28:29 +01:00
Michael Weimann 143632adb0
Add 2022 code style (#23153)
* Add 2022 code style

* Update CONTRIBUTING/code_style
2022-09-01 13:49:44 +02:00