From 1baa47d40efd3a15854d76191d1aafbb0e7077bf Mon Sep 17 00:00:00 2001 From: landaiqing <3517283258@qq.com> Date: Fri, 12 Apr 2024 23:36:44 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E6=B7=BB=E5=8A=A0=E9=85=8D=E7=BD=AE?= =?UTF-8?q?=E6=96=87=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .editorconfig | 16 ++++++++++++++++ .npmrc | 3 +++ 2 files changed, 19 insertions(+) create mode 100644 .editorconfig create mode 100644 .npmrc diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 0000000..fd60d3a --- /dev/null +++ b/.editorconfig @@ -0,0 +1,16 @@ +# Editor configuration, see http://editorconfig.org + +# 表示是最顶层的 EditorConfig 配置文件 +root = true + +[*] # 表示所有文件适用 +charset = utf-8 # 设置文件字符集为 utf-8 +indent_style = tab # 缩进风格(tab | space) +indent_size = 4 # 缩进大小 +end_of_line = crlf # 控制换行类型(lf | cr | crlf) +trim_trailing_whitespace = true # 去除行首的任意空白字符 +insert_final_newline = true # 始终在文件末尾插入一个新行 + +[*.md] # 表示仅 md 文件适用以下规则 +max_line_length = off +trim_trailing_whitespace = false diff --git a/.npmrc b/.npmrc new file mode 100644 index 0000000..3390db9 --- /dev/null +++ b/.npmrc @@ -0,0 +1,3 @@ +registry=https://registry.npmmirror.com +npm config set registry https://registry.npmmirror.com -g +shamefully-hoist = true