mirror of
https://gitee.com/mirrors/AllinSSL.git
synced 2026-03-15 02:42:01 +08:00
【同步】前端项目源码
【修复】工作流兼容问题
This commit is contained in:
11
frontend/environment/prettier/index.js
Normal file
11
frontend/environment/prettier/index.js
Normal file
@@ -0,0 +1,11 @@
|
||||
export default {
|
||||
tabWidth: 2, // 缩进
|
||||
useTabs: true, // 缩进方式
|
||||
semi: false, // 语句结尾是否加分号
|
||||
singleQuote: true, // 单引号
|
||||
printWidth: 120, // 换行长度
|
||||
arrowParens: 'always', // 箭头函数参数
|
||||
bracketSpacing: true, // 对象花括号内是否加空格
|
||||
endOfLine: 'auto', // 换行符
|
||||
vueIndentScriptAndStyle: true, // vue文件内script和style标签缩进
|
||||
}
|
||||
Reference in New Issue
Block a user