Skip to content

Commit abbf158

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent 3a3fdc6 commit abbf158

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

src/languages/java.ts

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ const nodeMatchers: Partial<
8686
"assignment_expression[left]",
8787
"*[name]",
8888
"formal_parameter.identifier!",
89-
"switch_label.parenthesized_expression!"
89+
"switch_label.parenthesized_expression!",
9090
],
9191
collectionKey: ["switch_label.parenthesized_expression!"],
9292
namedFunction: ["method_declaration", "constructor_declaration"],
@@ -112,9 +112,7 @@ const nodeMatchers: Partial<
112112
],
113113
["=", "+=", "-=", "*=", "/=", "%=", "&=", "|=", "^=", "<<=", ">>="]
114114
),
115-
condition: cascadingMatcher(
116-
conditionMatcher("*[condition]"),
117-
),
115+
condition: cascadingMatcher(conditionMatcher("*[condition]")),
118116
argumentOrParameter: argumentMatcher("formal_parameters", "argument_list"),
119117
subject: patternMatcher("switch_expression[condition]"),
120118
branch: ["switch_block_statement_group", "switch_rule"],

0 commit comments

Comments
 (0)