If you want a certain file in a repo to never be formatted by prettier, you can add it to a .prettierignore file: Disable Prettier for one file
From the docs:
To exclude files from formatting, create a .prettierignore file in the
root of your project. .prettierignore uses gitignore syntax.Example:
# Ignore artifacts: build coverage # Ignore all HTML files: *.html