Jose Pacelli Oliveira
Jose Pacelli Oliveira

Reputation: 25

Prettier config for diferent type of files in VSCODE

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

Upvotes: 1

Views: 3494

Answers (1)

thorn0
thorn0

Reputation: 10397

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

Upvotes: 2

Related Questions