You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* indent should increase by one step the line after each opened brace (square, curly, paren)
38
+
* indent should increase by one step the line after each opened brace (square, curly, paren).
39
39
* indent should decrease by one step the line of every closed brace.
40
+
* if multiple pairs of braces are opened and closed on the same two lines the indent should only increase once.
40
41
* indent should increase by one step the line after a resource title, unless it already increased due to a bracket.
41
42
* indent should decrease by one step the line after the end of a resource due to semicolon, if it was indented for resource title.
43
+
* if the semicolon is the only element on the line then the indent decreases on the semicolon line instead of the line after.
42
44
* indent should decrease by one step the line of the end of a resource due to right curly brace, if it was indented for resource title, and not ended by a semicolon.
43
45
* indent should increase by one step the line after an equals `=` or farrow `=>` that ends a line, but only for that one line.
46
+
* heredoc contents should be indented by one step.
44
47
45
48
see `spec/fixtures/pass/` for good indentation examples.
0 commit comments