mirror of
https://github.com/didi/KnowStreaming.git
synced 2025-12-24 11:52:08 +08:00
初始化3.0.0版本
This commit is contained in:
10
km-console/.prettierrc.js
Normal file
10
km-console/.prettierrc.js
Normal file
@@ -0,0 +1,10 @@
|
||||
module.exports = {
|
||||
"printWidth": 140, // 指定代码长度,超出换行
|
||||
"tabWidth": 2, // tab 键的宽度
|
||||
"semi": true, // 结尾加上分号
|
||||
"trailingComma": "es5", // 确保对象的最后一个属性后有逗号
|
||||
singleQuote: true,
|
||||
"bracketSpacing": true, // 大括号有空格 { name: 'rose' }
|
||||
"insertPragma": false, // 是否在格式化的文件顶部插入Pragma标记,以表明该文件被prettier格式化过了
|
||||
"htmlWhitespaceSensitivity": "ignore", // html文件的空格敏感度,控制空格是否影响布局
|
||||
}
|
||||
Reference in New Issue
Block a user