From 42cb28afb861dd7e54b9f6d4517155c20c573d6f Mon Sep 17 00:00:00 2001 From: Aiden Bai Date: Sun, 1 May 2022 22:08:14 -0700 Subject: [PATCH 1/2] Add prettier config --- .prettierrc | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 .prettierrc diff --git a/.prettierrc b/.prettierrc new file mode 100644 index 00000000..f1bc35a4 --- /dev/null +++ b/.prettierrc @@ -0,0 +1,6 @@ +{ + "printWidth": 100, + "quoteProps": "as-needed", + "trailingComma": "all", + "tabWidth": 2 +} From 7cc9974f931ea17dd2cf88918f0e26cb5c9fe0c3 Mon Sep 17 00:00:00 2001 From: Aiden Bai Date: Mon, 2 May 2022 08:57:25 -0700 Subject: [PATCH 2/2] Use semi: false for prettier config --- .prettierrc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.prettierrc b/.prettierrc index f1bc35a4..5788b66f 100644 --- a/.prettierrc +++ b/.prettierrc @@ -2,5 +2,6 @@ "printWidth": 100, "quoteProps": "as-needed", "trailingComma": "all", - "tabWidth": 2 + "tabWidth": 2, + "semi": false }