forked from qiushanhe/dm-manage-web
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
47 lines
834 B
47 lines
834 B
2 years ago
|
{
|
||
|
"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"
|
||
|
}
|
||
|
}
|
||
|
]
|
||
|
}
|