添加组件及页面
This commit is contained in:
30
.prettierrc
Normal file
30
.prettierrc
Normal file
@@ -0,0 +1,30 @@
|
||||
{
|
||||
"printWidth": 100,
|
||||
"tabWidth": 2,
|
||||
"useTabs": false,
|
||||
"trailingComma": "all",
|
||||
"arrowParens": "always",
|
||||
"singleQuote": true,
|
||||
"semi": true,
|
||||
"bracketSpacing": true,
|
||||
"overrides": [
|
||||
{
|
||||
"files": [ "*.wxss", "*.acss" ],
|
||||
"options": {
|
||||
"parser": "css"
|
||||
}
|
||||
},
|
||||
{
|
||||
"files": [ "*.wxml", "*.axml" ],
|
||||
"options": {
|
||||
"parser": "html"
|
||||
}
|
||||
},
|
||||
{
|
||||
"files": [ "*.wxs", "*.sjs" ],
|
||||
"options": {
|
||||
"parser": "babel"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user