Skip to content

Commit

Permalink
style: 💄 prettier
Browse files Browse the repository at this point in the history
Add typescript parser
  • Loading branch information
panfayi committed Mar 8, 2019
1 parent 14d9d18 commit 1a002e4
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions .prettierrc
Original file line number Diff line number Diff line change
Expand Up @@ -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" }
}
]
}
}

0 comments on commit 1a002e4

Please sign in to comment.