Reputation: 51
Is there any way I can universally stop prettier from formatting .min files in all of my projects without individually whitelisting every one?
Upvotes: 5
Views: 951
Reputation: 8010
You can create a .prettierignore file that looks something like this:
.prettierignore
*.min.*
However, you still will need to do this for every project. There is no way to "globally" set prettier rules, as Thorn0 explains in this comment.
Upvotes: 2