docs: 优化文档和注释中的单词大小写和语义

This commit is contained in:
pany
2022-07-01 16:25:51 +08:00
parent 8378cb501f
commit f4dc67c4ec
30 changed files with 74 additions and 76 deletions

View File

@@ -2,9 +2,9 @@
module.exports = {
/** 每一行的宽度 */
printWidth: 120,
/** tab 的空格数 */
/** Tab 的空格数 */
tabWidth: 2,
/** 在对象中的括号之间用空格来间隔 */
/** 在对象中的括号之间是否用空格来间隔 */
bracketSpacing: true,
/** 箭头函数的参数无论有几个,都要括号包裹 */
arrowParens: "always",
@@ -14,8 +14,8 @@ module.exports = {
singleQuote: false,
/** 对象或者数组的最后一个元素后面不要加逗号 */
trailingComma: "none",
/** 加分号 */
/** 是否加分号 */
semi: false,
/** 使用 tab 格式化 */
/** 是否使用 Tab 格式化 */
useTabs: false
}