forked from Azure/azure-rest-api-specs
-
Notifications
You must be signed in to change notification settings - Fork 2
/
.prettierrc.json
46 lines (46 loc) · 895 Bytes
/
.prettierrc.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
{
"overrides": [
{
"files": [
"specification/**/*.json",
"documentation/swagger-bootstrap.json",
"documentation/samplefiles/**/*.json"
],
"options": {
"plugins": [
"./scripts/prettier-swagger-plugin"
],
"parser": "json-swagger",
"printWidth": 20,
"endOfLine": "auto"
}
},
{
"files": [
"**/*.json"
],
"options": {
"parser": "json",
"printWidth": 20,
"endOfLine": "auto"
},
"excludeFiles": [
"specification/**/*.json"
]
},
{
"files": [
"**/*.ts"
],
"options": {
"arrowParens": "always",
"bracketSpacing": true,
"endOfLine": "lf",
"printWidth": 100,
"semi": true,
"singleQuote": false,
"tabWidth": 2
}
}
]
}