refactor:增加前端格式化配置文件

This commit is contained in:
fanxb 2020-05-10 14:07:39 +08:00
parent 6e91e49404
commit 5c26835a3c

11
front/.prettierrc Normal file
View File

@ -0,0 +1,11 @@
{
"printWidth": 160,
"semi": true,
"singleQuote": true,
"trailingComma": "none",
"bracketSpacing": true,
"jsxBracketSameLine": false,
"arrowParens": "avoid",
"requirePragma": false,
"proseWrap": "preserve"
}