Skip to content

Commit

Permalink
add lines before try/catch/finally, fix #127
Browse files Browse the repository at this point in the history
  • Loading branch information
chriswong committed Nov 27, 2015
1 parent 99068b0 commit d5dfcdc
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions lib/js/esformatter.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,14 +36,16 @@
"BlockComment": ">=2",
"CallExpression": -1,
"ConditionalExpression": ">=1",
"CatchKeyword": ">=1",
"CatchOpeningBrace": 0,
"CatchClosingBrace": ">=1",
"DeleteOperator": ">=1",
"DoWhileStatement": ">=1",
"DoWhileStatementOpeningBrace": 0,
"DoWhileStatementClosingBrace": ">=1",
"EmptyStatement": -1,
"FinallyOpeningBrace": 1,
"FinallyKeyword": ">=1",
"FinallyOpeningBrace": 0,
"FinallyClosingBrace": ">=1",
"ForInStatement": ">=1",
"ForInStatementExpressionOpening": 0,
Expand Down Expand Up @@ -79,6 +81,7 @@
"SwitchClosingBrace": ">=1",
"ThisExpression": -1,
"ThrowStatement": ">=1",
"TryKeyword": ">=1",
"TryOpeningBrace": 0,
"TryClosingBrace": ">=1",
"VariableName": ">=1",
Expand All @@ -96,7 +99,7 @@
"BlockStatement": 0,
"CallExpression": -1,
"CatchOpeningBrace": ">=1",
"CatchClosingBrace": ">=0",
"CatchClosingBrace": ">=1",
"ConditionalExpression": ">=1",
"DeleteOperator": ">=1",
"DoWhileStatement": ">=1",
Expand Down

0 comments on commit d5dfcdc

Please sign in to comment.