aboutsummaryrefslogtreecommitdiff
path: root/runtime/queries/javascript/indents.toml
blob: 9d711ab23d4c684edfd7bf1f7cfe40dd9b52d9c1 (plain) (blame)
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
indent = [
 "array",
 "object",
 "arguments",
 "formal_parameters",

 "statement_block",
 "object_pattern",
 "class_body",
 "named_imports",

 "binary_expression",
 "return_statement",
 "template_substitution",
 # (expression_statement (call_expression))
 "export_clause",

 # typescript
 "enum_declaration",
 "interface_declaration",
 "object_type",
]

outdent = [
 "}",
 "]",
 ")"
]