docs: 优化注释

This commit is contained in:
pany 2024-11-21 20:14:55 +08:00
parent 14fca80a90
commit f9b1f080b5
2 changed files with 12 additions and 13 deletions

View File

@ -1,25 +1,24 @@
# 修改配置后重启编辑器 # 配置项文档https://editorconfig.org修改配置后重启编辑器
# 配置项文档https://editorconfig.org
# 告知 EditorConfig 插件,当前即是根文件 ## 告知 EditorConfig 插件,当前即是根文件
root = true root = true
# 适用全部文件 ## 适用全部文件
[*] [*]
## 设置字符集 ### 设置字符集
charset = utf-8 charset = utf-8
## 缩进风格 space | tab建议 space ### 缩进风格 space | tab建议 space
indent_style = space indent_style = space
## 缩进的空格数 ### 缩进的空格数
indent_size = 2 indent_size = 2
## 换行符类型 lf | cr | crlf一般都是设置为 lf ### 换行符类型 lf | cr | crlf一般都是设置为 lf
end_of_line = lf end_of_line = lf
## 是否在文件末尾插入空白行 ### 是否在文件末尾插入空白行
insert_final_newline = true insert_final_newline = true
## 是否删除一行中的前后空格 ### 是否删除一行中的前后空格
trim_trailing_whitespace = true trim_trailing_whitespace = true
# 适用 .md 文件 ## 适用 .md 文件
[*.md] [*.md]
insert_final_newline = false insert_final_newline = false
trim_trailing_whitespace = false trim_trailing_whitespace = false

View File

@ -1,5 +1,3 @@
import { describe, expect, it } from "vitest"
/** /**
* @description Vitest * @description Vitest
* @link https://cn.vitest.dev/api * @link https://cn.vitest.dev/api
@ -10,6 +8,8 @@ import { describe, expect, it } from "vitest"
* @api toEqual: 断言实际值是否等于接收到的值或具有相同的结构 * @api toEqual: 断言实际值是否等于接收到的值或具有相同的结构
*/ */
import { describe, expect, it } from "vitest"
const author1 = { const author1 = {
name: "pany", name: "pany",
email: "939630029@qq.com", email: "939630029@qq.com",