chore: add a prettier config

pull/1485/head
Junyu Zhan 2021-03-11 14:46:31 +08:00 committed by Tienson Qin
parent 6eadb22753
commit e7c6424426
1 changed files with 15 additions and 0 deletions

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