Is there any way to create a prettier configuration file for different file types? For example, one for .html and one for .ts
Asked
Active
Viewed 1,953 times
1 Answers
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