mirror of
https://github.com/angular/angular.git
synced 2026-09-14 13:54:52 +08:00
10bdae9098
This should also be safe on any html file that isn't an angular template
(cherry picked from commit 9d1d742f1b)
27 lines
473 B
Plaintext
27 lines
473 B
Plaintext
{
|
|
"printWidth": 100,
|
|
"tabWidth": 2,
|
|
"useTabs": false,
|
|
"embeddedLanguageFormatting": "off",
|
|
"singleQuote": true,
|
|
"semi": true,
|
|
"quoteProps": "preserve",
|
|
"bracketSpacing": false,
|
|
"trailingComma": "all",
|
|
"overrides": [
|
|
{
|
|
"files": ["./.prettierrc"],
|
|
"options": {
|
|
"parser": "json"
|
|
}
|
|
},
|
|
{
|
|
"files": ["*.html"],
|
|
"excludeFiles": ["**/test/**"],
|
|
"options": {
|
|
"parser": "angular"
|
|
}
|
|
}
|
|
]
|
|
}
|