Switch from prettier to oxfmt (#33844)

* Switch from prettier to oxfmt

* Make knip happy

* Make knip happy

* Apply suggestion from @t3chguy

* Rename .oxfmtrc.json to .oxfmtrc.jsonc

* Make oxfmt happier
This commit is contained in:
Michael Telatynski
2026-06-16 12:17:18 +00:00
committed by GitHub
parent 5d93490547
commit eca2f39dbb
28 changed files with 399 additions and 217 deletions
+2 -2
View File
@@ -649,8 +649,8 @@ export function mkMessage({
...opts,
type: "m.room.message",
content: {
msgtype: "m.text",
body: message,
"msgtype": "m.text",
"body": message,
...(format && formattedMsg ? { format, formatted_body: formattedMsg } : {}),
["m.relates_to"]: relatesTo,
},
+2 -2
View File
@@ -28,8 +28,8 @@ export const makeThreadEvent = ({
mkMessage({
...props,
relatesTo: {
event_id: rootEventId,
rel_type: "m.thread",
"event_id": rootEventId,
"rel_type": "m.thread",
["m.in_reply_to"]: {
event_id: replyToEventId,
},