From af2089a7f5345ffea8c2457645167b5c53b0cb3b Mon Sep 17 00:00:00 2001 From: Mosaad <48773133+theMosaad@users.noreply.github.com> Date: Tue, 24 Nov 2020 00:03:42 +0200 Subject: [PATCH] Correct "trailingComma" value for prettier (#2582) For "trailingComma" in `.prettierrc`, the value "true" is not accepted. Valid values are: "es5", "none", "all" https://prettier.io/docs/en/options.html#trailing-commas --- .prettierrc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.prettierrc b/.prettierrc index 93e9547..c3e0328 100644 --- a/.prettierrc +++ b/.prettierrc @@ -1,5 +1,5 @@ { "semi": true, "singleQuote": true, - "trailingComma": true + "trailingComma": "es5" }