@@ -1008,6 +1008,10 @@ impl ConfigurationBuilder {
10081008 self . insert ( "arrayPattern.spaceAround" , value. into ( ) )
10091009 }
10101010
1011+ pub fn catch_clause_space_around ( & mut self , value : bool ) -> & mut Self {
1012+ self . insert ( "catchClause.spaceAround" , value. into ( ) )
1013+ }
1014+
10111015 pub fn do_while_statement_space_around ( & mut self , value : bool ) -> & mut Self {
10121016 self . insert ( "doWhileStatement.spaceAround" , value. into ( ) )
10131017 }
@@ -1252,6 +1256,7 @@ mod tests {
12521256 . arguments_space_around ( true )
12531257 . array_expression_space_around ( true )
12541258 . array_pattern_space_around ( true )
1259+ . catch_clause_space_around ( true )
12551260 . do_while_statement_space_around ( true )
12561261 . for_in_statement_space_around ( true )
12571262 . for_of_statement_space_around ( true )
@@ -1264,7 +1269,7 @@ mod tests {
12641269 . while_statement_space_around ( true ) ;
12651270
12661271 let inner_config = config. get_inner_config ( ) ;
1267- assert_eq ! ( inner_config. len( ) , 178 ) ;
1272+ assert_eq ! ( inner_config. len( ) , 179 ) ;
12681273 let diagnostics = resolve_config ( inner_config, & Default :: default ( ) ) . diagnostics ;
12691274 assert_eq ! ( diagnostics. len( ) , 0 ) ;
12701275 }
0 commit comments