How to stop vscode from auto removing double quote?

35 Views Asked by At

So I want to write this code

db.students.updateMany( {}, { $rename: { "nmae": "name" } } )

But every time I save it always becomes like this

db.students.updateMany( {}, { $rename: { nmae: "name" } } )

The quotes are always removed for the key. How to stop it? I use prettier. Is it the prettier causing this?

0

There are 0 best solutions below