From 6703f527448c763fdebde1ffe2892f7be7cbacda Mon Sep 17 00:00:00 2001 From: Rob Lemley Date: Sun, 21 May 2023 15:04:53 +1000 Subject: [PATCH] Bug 1833949 - Port bug 1826062: Prettier config changes for v2.0.5. r=leftmostcat arrowParens now defaults to "always". Upstream is setting it to "avoid". This is to keep calendar code from reformatting arrow functions. Differential Revision: https://phabricator.services.mozilla.com/D178536 --HG-- extra : amend_source : a1f44df1a2639dc95a8d0cdb4d502425ab653516 --- calendar/.prettierrc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/calendar/.prettierrc b/calendar/.prettierrc index d5cb26e544..0bce966680 100644 --- a/calendar/.prettierrc +++ b/calendar/.prettierrc @@ -1,4 +1,6 @@ { + "arrowParens": "avoid", + "endOfLine": "lf", "printWidth": 100, "tabWidth": 2, "trailingComma": "es5"