diff --git a/.prettierrc b/.prettierrc index a822f83..d18f896 100644 --- a/.prettierrc +++ b/.prettierrc @@ -17,9 +17,17 @@ "files": ".babelrc", "options": { "parser": "json", "trailingComma": "none" } }, + { + "files": "*.ts", + "options": { "parser": "typescript", "trailingComma": "none" } + }, + { + "files": "*.tsx", + "options": { "parser": "typescript", "trailingComma": "none" } + }, { "files": "*.json", - "options": { "trailingComma": "none" } + "options": { "parser": "json", "trailingComma": "none" } } ] -} +} \ No newline at end of file