Stop prettier from formatting min files?

Viewed 244

Is there any way I can universally stop prettier from formatting .min files in all of my projects without individually whitelisting every one?

1 Answers

You can create a .prettierignore file that looks something like this:

*.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.

Related