chore: add a prettier config

This commit is contained in:
Junyu Zhan
2021-03-11 14:46:31 +08:00
committed by Tienson Qin
parent 6eadb22753
commit e7c6424426

15
.prettierrc.js Normal file
View File

@@ -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,
}