From 8c6d15b7e13b97a684d984cc50875a6737de7e21 Mon Sep 17 00:00:00 2001 From: * <*> Date: Mon, 18 Sep 2023 15:32:35 +0800 Subject: [PATCH] Match-id-fdd87fe87392c96d209150d79cdc94b7d0a5fe83 --- packages/inula-cli/.prettierrc.js | 41 +++++++--------------- packages/inula-cli/src/utils/mockServer.ts | 15 -------- 2 files changed, 13 insertions(+), 43 deletions(-) diff --git a/packages/inula-cli/.prettierrc.js b/packages/inula-cli/.prettierrc.js index bfed5f4e..b30250ac 100644 --- a/packages/inula-cli/.prettierrc.js +++ b/packages/inula-cli/.prettierrc.js @@ -1,30 +1,15 @@ -/* - * Copyright (c) 2020 Huawei Technologies Co.,Ltd. - * - * openGauss is licensed under Mulan PSL v2. - * You can use this software according to the terms and conditions of the Mulan PSL v2. - * You may obtain a copy of Mulan PSL v2 at: - * - * http://license.coscl.org.cn/MulanPSL2 - * - * THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND, - * EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT, - * MERCHANTABILITY OR FIT FOR A PARTICULAR PURPOSE. - * See the Mulan PSL v2 for more details. - */ - export default { - printWidth: 120, // 一行120字符数,如果超过会进行换行 - tabWidth: 2, // tab等2个空格 - useTabs: false, // 用空格缩进行 - semi: true, // 行尾使用分号 - singleQuote: true, // 字符串使用单引号 - quoteProps: 'as-needed', // 仅在需要时在对象属性添加引号 - jsxSingleQuote: false, // 在JSX中使用双引号 - trailingComma: 'es5', // 使用尾逗号(对象、数组等) - bracketSpacing: true, // 对象的括号间增加空格 - jsxBracketSameLine: false, // 将多行JSX元素的>放在最后一行的末尾 - arrowParens: 'avoid', // 在唯一的arrow函数参数周围省略括号 - vueIndentScriptAndStyle: false, // 不缩进Vue文件中的