If you don't want to change the project configuration or uninstall some packages, you may need to create a .prettierignore file and write a * in it. When you want to use prettier, delete the file and execute "npx prettier --write .". Also, I don't like the prettier plugin.