.prettierignore pattern to ignore an entire folder
See original GitHub issueI have some folders I want to disable prettier completely, and let it run on other folders with formatOnSave.
tried to add .prettierignore with **/* and **/ with no effect - prettier still formats the code.
What can I do to make this work?
Issue Analytics
- State:
- Created 6 years ago
- Reactions:1
- Comments:9 (3 by maintainers)
Top Results From Across the Web
how to disable prettier formatting for individual files or folders
create your .prettierignore file in the folder you want prettier to ignore the files inside of · inside the file, simply type *...
Read more >Disable prettier for a single file - javascript - Stack Overflow
Ignoring Files or Folders ... To exclude files from formatting, add entries to a .prettierignore file in the project root or set the...
Read more >prettier ignore folders | The search engine you control.
To exclude files from formatting, create a .prettierignore file in the root ... Given a directory structure like: ... pattern to ignore an...
Read more >CLI · Prettier 中文网
Use a .prettierignore file to ignore things that should not be formatted. ... Prettier CLI will ignore files located in node_modules directory.
Read more >Ignoring Code - ESLint - Pluggable JavaScript Linter
ignorePatterns in Config Files · Glob patterns in ignorePatterns are relative to the directory that the config file is placed in. · You...
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

For me it doesn’t, only works if I open a workspace. Maybe it’s a bug. Using Ubuntu 16.04, vscode 1.19.1
What do you mean by folder ? You can disable the extension for certain workspace. Try with
**