From 90b330728ca64d7903e7fb0d3ecec59028d77961 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=A6=99=E7=A0=81=E7=94=9F=E8=8A=B1?= <18523774412@qq.com> Date: Sat, 23 Dec 2023 13:13:37 +0800 Subject: [PATCH] =?UTF-8?q?build:=20eslint=E5=92=8Cprettier=E4=B8=8EESM?= =?UTF-8?q?=E7=9A=84=E5=85=BC=E5=AE=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- web/{.eslintrc.js => .eslintrc.cjs} | 0 web/.prettierrc.js | 2 +- 2 files changed, 1 insertion(+), 1 deletion(-) rename web/{.eslintrc.js => .eslintrc.cjs} (100%) diff --git a/web/.eslintrc.js b/web/.eslintrc.cjs similarity index 100% rename from web/.eslintrc.js rename to web/.eslintrc.cjs diff --git a/web/.prettierrc.js b/web/.prettierrc.js index 7181225d..0075f362 100644 --- a/web/.prettierrc.js +++ b/web/.prettierrc.js @@ -1,4 +1,4 @@ -module.exports = { +export default { printWidth: 150, // 指定每个缩进级别的空格数 tabWidth: 4,