Disallow prettier to format certain files

I’m using prettier with an auto format when I save any file, however, I want to disallow prettier completely on certain files, to do so I create a .prettierignore file on the root of my project and I add the file I want to ignore.