0

Is there any way to create a prettier configuration file for different file types? For example, one for .html and one for .ts

1 Answers1

1

Yes, Prettier supports that. Please read about glob-based configuration overrides here: https://prettier.io/docs/en/configuration.html#configuration-overrides

thorn0
  • 9,362
  • 3
  • 68
  • 96