Search code examples
visual-studio-code

How to disable prettier in VSCode for a specific project?


I need to turn off Prettier for a specific project. In order to do that I have created a .prettierrc with {} but it is not working.

I can deactivate the prettier plugin on vscode, since we have other projects, need to have that in the plugin list.

I also use ESLint in the project.


Solution

  • Just create a .prettierignore file in the project with **

    The entire codebase will be ignored for Prettier plugin.