初始化

This commit is contained in:
qsh
2023-02-15 09:17:05 +08:00
parent eebc6c8e4c
commit a7606b1f20
301 changed files with 23347 additions and 2 deletions

46
.prettierrc Normal file
View File

@@ -0,0 +1,46 @@
{
"printWidth": 150,
"singleQuote": true,
"trailingComma": "none",
"semi": true,
"tabWidth": 2,
"useTabs": false,
"bracketSpacing": true,
"jsxBracketSameLine": false,
"arrowParens": "always",
"proseWrap": "preserve",
"overrides": [
{
"files": ["*.json", ".eslintrc", ".tslintrc", ".prettierrc", ".tern-project"],
"options": {
"parser": "json",
"tabWidth": 2
}
},
{
"files": "*.{css,sass,scss,less}",
"options": {
"parser": "css",
"tabWidth": 2
}
},
{
"files": "*.ts",
"options": {
"parser": "typescript"
}
},
{
"files": "*.vue",
"options": {
"parser": "vue"
}
},
{
"files": "*.md",
"options": {
"parser": "markdown"
}
}
]
}