-
Notifications
You must be signed in to change notification settings - Fork 8
/
prettierx.json
30 lines (30 loc) · 1.03 KB
/
prettierx.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
{
"alignObjectProperties": {
"description": "Align colons in multiline object literals (not applied with any of the JSON parsers).",
"type": "boolean"
},
"spaceBeforeFunctionParen": {
"description": "Put a space before function parenthesis.",
"type": "boolean"
},
"generatorStarSpacing": {
"description": "Add spaces around the star (*) in generator functions (before and after - from eslint).",
"type": "boolean"
},
"yieldStarSpacing": {
"description": "Add spaces around the star (*) in yield* expressions (before and after - from eslint).",
"type": "boolean"
},
"parenSpacing": {
"description": "Inserts extra spaces inside parentheses, the way how projects in the WordPress ecosystem.",
"type": "boolean"
},
"indentChains": {
"description": "Print indents at the start of chained calls.",
"type": "boolean"
},
"alignTernaryLines": {
"description": "Align ternary lines in case of multiline ternery term (default behavior, conflict with standard)",
"type": "boolean"
}
}