Skip to content

Commit

Permalink
feat: quote JS object properties consistently (#72)
Browse files Browse the repository at this point in the history
* quote JS object properties consistently

addresses an issue where Prettier would auto-convert unicode keys back to emoji, which caused breakage in IE11 (See: [api-explorer#e357013](readmeio/api-explorer@e357013))

* chore: keeping the prettier config alphabetized

Co-authored-by: Jon Ursenbach <[email protected]>
  • Loading branch information
rafegoldberg and erunion authored May 8, 2020
1 parent 4410d0a commit 7ba1883
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .prettierrc
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
{
"printWidth": 120,
"singleQuote": true,
"quoteProps": "consistent",
"trailingComma": "es5"
}

0 comments on commit 7ba1883

Please sign in to comment.