docs: 优化注释
This commit is contained in:
parent
14fca80a90
commit
f9b1f080b5
@ -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
|
||||||
|
@ -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",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user