Skip to content

Commit 517a9db

Browse files
authored
🔧 更新 prettier 配置 (#457)
1 parent f6ee4a4 commit 517a9db

File tree

1 file changed

+13
-1
lines changed

1 file changed

+13
-1
lines changed

.prettierrc

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,5 +5,17 @@
55
"arrowParens": "always",
66
"singleQuote": false,
77
"trailingComma": "es5",
8-
"semi": true
8+
"semi": true,
9+
"overrides": [
10+
{
11+
"files": [
12+
"**/devcontainer.json",
13+
"**/tsconfig.json",
14+
"**/tsconfig.*.json"
15+
],
16+
"options": {
17+
"parser": "json"
18+
}
19+
}
20+
]
921
}

0 commit comments

Comments
 (0)