Closed Wilfred closed 6 years ago
This fixes cases like:
foo([ 1 ])
where we only want to indent the 1 by a single indentation level, even though we are inside two parens.
We now only increase indent level for at most one paren per line of code.
Fixes #78.
Coverage increased (+0.2%) to 95.528% when pulling 978e9de220487ef033bacc75cda40bcef735c263 on correct-indentation-repeated-parens into 2bfaf08cd76981620f36b2b7fc52a9a0b8214d13 on master.
This fixes cases like:
where we only want to indent the 1 by a single indentation level, even though we are inside two parens.
We now only increase indent level for at most one paren per line of code.
Fixes #78.