Answers for "If you want to disable Prettier on a particular language you can either create a .prettierignore file or you can use VS Code's editor.defaultFormatter settings. The following will use Prettier for all languages except Javascript."

0

If you want to disable Prettier on a particular language you can either create a .prettierignore file or you can use VS Code's editor.defaultFormatter settings. The following will use Prettier for all languages except Javascript.

{
  "editor.defaultFormatter": "esbenp.prettier-vscode",
  "[javascript]": {
    "editor.defaultFormatter": null
  }
}
Posted by: Guest on July-22-2021

Code answers related to "If you want to disable Prettier on a particular language you can either create a .prettierignore file or you can use VS Code's editor.defaultFormatter settings. The following will use Prettier for all languages except Javascript."

Code answers related to "Javascript"

Browse Popular Code Answers by Language