Merge branch 'main' into next

# Conflicts:
#	src/language-js/print/flow.js
#	src/language-js/print/literal.js
This commit is contained in:
fisker Cheung committed 2022-08-26 10:29:09 +08:00
commit 0b072060b5
21 files changed
+247 -3

No files matched your search

+8
View File
@@ -832,6 +832,14 @@ function genericPrint(path, options, print) {
continue;
}
if (
iNode.value?.endsWith("#") &&
iNextNode.value === "{" &&
isParenGroupNode(iNextNode.group)
) {
continue;
}
// Be default all values go through `line`
parts.push(line);
}