Bug 1578564 - Workaround a prettier warning so that we can run it on html/xhtml files. r=vporof
authorMark Banner <standard8@mozilla.com>
Wed, 04 Sep 2019 06:59:03 +0000
changeset 491624 16d4fc4754b67bb255ed28f158c00f5818447295
parent 491623 fc87b392688b3a516d0ef57c7141d568d8b57d84
child 491625 3a9ac43f49a645082db3619993c0365db6b7b263
push id114031
push usercbrindusan@mozilla.com
push dateWed, 04 Sep 2019 16:40:14 +0000
treeherdermozilla-inbound@56a8ed44a60d [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersvporof
bugs1578564
milestone71.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1578564 - Workaround a prettier warning so that we can run it on html/xhtml files. r=vporof Differential Revision: https://phabricator.services.mozilla.com/D44555
.prettierrc
--- a/.prettierrc
+++ b/.prettierrc
@@ -1,5 +1,9 @@
 {
   "printWidth": 80,
   "tabWidth": 2,
-  "trailingComma": "es5"
+  "trailingComma": "es5",
+  "overrides": [{
+    "files": ["*.html", "*.xhtml"],
+    "options": { "parser": "babel" }
+  }]
 }