.prettierignore not work for yml file
See original GitHub issue.prettierignore
.travis.yml
but it still format .travis.yml file anyway …
Issue Analytics
- State:
- Created 6 years ago
- Comments:6 (2 by maintainers)
Top Results From Across the Web
Ignoring Code - Prettier
Use .prettierignore to ignore (i.e. not reformat) certain files and folders completely. Use “prettier-ignore” comments to ignore parts of files.
Read more >Disable prettier for a single file - javascript - Stack Overflow
To exclude files from formatting, create a .prettierignore file in the root of your project. .prettierignore uses gitignore syntax. Example: # ...
Read more >Prettier - Nova Extensions - Panic Inc.
Working with remote files. Most features are supported for remote files. However Prettier configuration and .prettierignore files are not.
Read more >Using Prettier and ESLint to automate formatting and fixing ...
Learn how to use ESLint and Prettier together to automatically format and fix JavaScript code in your projects.
Read more >vscode prettier ignore not working - You.com | The AI Search ...
I'm running prettier in a mono-repo VSCode workspaces with a single configuration file at the root workspace. I have a ignore rule in...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

This extension will never run on YAML files so it’s likely the default formatter that is running.
If you want to turn off all formatting on save for YAML you can add
When we say default formatter, is it the one coming along with vscode by default?
But If we turn off this extension, .travis.yml will not be formatted any more.
@azz, thanks for the work around.