Explorar o código

chore: add a prettier config

Junyu Zhan %!s(int64=4) %!d(string=hai) anos
pai
achega
e7c6424426
Modificáronse 1 ficheiros con 15 adicións e 0 borrados
  1. 15 0
      .prettierrc.js

+ 15 - 0
.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,
+}