build:增加格式化说明。

This commit is contained in:
徐涛
2021-08-23 11:29:56 +08:00
parent ef0c4f738c
commit 3752eaa788
2 changed files with 21 additions and 0 deletions

11
.prettierrc Normal file
View File

@@ -0,0 +1,11 @@
{
"bracketSpacing": true,
"jsxBracketSameLine": true,
"tabWidth": 2,
"useTabs": false,
"semi": true,
"singleQuote": false,
"jsxSingleQuote": false,
"trailingComma": "all",
"arrowParens": "always"
}