From e7c64244265b0ccb579227aaae8ed8b6343863ab Mon Sep 17 00:00:00 2001 From: Junyu Zhan Date: Thu, 11 Mar 2021 14:46:31 +0800 Subject: [PATCH] chore: add a prettier config --- .prettierrc.js | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 .prettierrc.js diff --git a/.prettierrc.js b/.prettierrc.js new file mode 100644 index 00000000000..ac1adffabf6 --- /dev/null +++ b/.prettierrc.js @@ -0,0 +1,15 @@ +/** + * Copyright (c) Facebook, Inc. and its affiliates. + * + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. + * + */ + +'use strict' + +module.exports = { + singleQuote: true, + trailingComma: 'es5', + semi: false, +}