I'm developing with NestJs and VueJs and use the code style configured via CLI. So Nest is using its own code style with TSLint and for VueJs I want to use the AirBnb code style.
Based on my current VSC extension settings
I use ESLint, Vetur and Prettier with the following settings
{
"editor.codeActionsOnSave": {
"source.fixAll": true
},
"editor.formatOnSave": true,
"vetur.format.defaultFormatter.js": "prettier-eslint",
"vetur.format.defaultFormatter.html": "prettier",
"vetur.format.defaultFormatter.ts": "prettier-tslint",
"prettier.singleQuote": true
}
Unfortunately VSC updates my Javascript code from single quotes to double quotes. I want to format my code based on the configured code style whether it is plain NodeJs, NestJs, Angular, React, Vue, ...
Would someone mind telling me how to set up the editor correctly?