agg
agg

Reputation: 51

Stop prettier from formatting min files?

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

Answers (1)

mousetail
mousetail

Reputation: 8010

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.

Upvotes: 2

Related Questions