-
-
Notifications
You must be signed in to change notification settings - Fork 4.7k
Closed
Labels
locked-due-to-inactivityPlease open a new issue and fill out the template instead of commenting.Please open a new issue and fill out the template instead of commenting.status:needs discussionIssues needing discussion and a decision to be made before action can be takenIssues needing discussion and a decision to be made before action can be taken
Description
I have below code need to prettier:
db.getSiblingDB("test").msg.find({$or: [
{ filename: "1046." }
,
{ "headers.From": "*com" }
]}).sort(
{"headers.To":1}
).limit(10)
the formatted result is shown as below:
db
.getSiblingDB("test")
.msg.find({
$or: [{ filename: "1046." }, { "headers.From": "*com" }]
})
.sort({ "headers.To": 1 })
.limit(10);
what I want is put the dot . at the end of each line as below:
db.
getSiblingDB("test").
msg.find({
$or: [{ filename: "1046." }, { "headers.From": "*com" }]
}).
sort({ "headers.To": 1 }).
limit(10);
I am not sure whether prettier support making such change.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
locked-due-to-inactivityPlease open a new issue and fill out the template instead of commenting.Please open a new issue and fill out the template instead of commenting.status:needs discussionIssues needing discussion and a decision to be made before action can be takenIssues needing discussion and a decision to be made before action can be taken