| OLD | NEW |
| 1 40 columns | | 1 40 columns | |
| 2 >>> space-separated adjacent strings are not split if they fit | 2 >>> space-separated adjacent strings are not split if they fit |
| 3 var name = new Symbol("the first string" "the second"); | 3 var name = new Symbol("the first string" "the second"); |
| 4 <<< | 4 <<< |
| 5 var name = new Symbol( | 5 var name = new Symbol( |
| 6 "the first string" "the second"); | 6 "the first string" "the second"); |
| 7 >>> space-separated adjacent strings are split if they don't fit | 7 >>> space-separated adjacent strings are split if they don't fit |
| 8 var name = new Symbol("the first very long string" "the second very longstring")
; | 8 var name = new Symbol("the first very long string" "the second very longstring")
; |
| 9 <<< | 9 <<< |
| 10 var name = new Symbol( | 10 var name = new Symbol( |
| (...skipping 26 matching lines...) Expand all Loading... |
| 37 identifier || | 37 identifier || |
| 38 identifier || | 38 identifier || |
| 39 identifier) {} | 39 identifier) {} |
| 40 >>> conditions, different operators | 40 >>> conditions, different operators |
| 41 if (identifier && identifier || identifier | 41 if (identifier && identifier || identifier |
| 42 && identifier) { | 42 && identifier) { |
| 43 } | 43 } |
| 44 <<< | 44 <<< |
| 45 if (identifier && identifier || | 45 if (identifier && identifier || |
| 46 identifier && identifier) {} | 46 identifier && identifier) {} |
| 47 >>> split conditional because condition doesn't fit |
| 48 var kind = longElement != otherLongElement ? longArgument : arg; |
| 49 <<< |
| 50 var kind = |
| 51 longElement != otherLongElement |
| 52 ? longArgument |
| 53 : arg; |
| 54 >>> split conditional because condition splits |
| 55 var kind = longElement != otherReallyLongElement ? longArgument : arg; |
| 56 <<< |
| 57 var kind = longElement != |
| 58 otherReallyLongElement |
| 59 ? longArgument |
| 60 : arg; |
| 47 >>> split conditional because then doesn't fit | 61 >>> split conditional because then doesn't fit |
| 48 var kind = element != null ? longArgument : arg; | 62 var kind = element != null ? longArgument : arg; |
| 49 <<< | 63 <<< |
| 50 var kind = element != null | 64 var kind = element != null |
| 51 ? longArgument | 65 ? longArgument |
| 52 : arg; | 66 : arg; |
| 53 >>> split conditional because else doesn't fit | 67 >>> split conditional because else doesn't fit |
| 54 var kind = element != null ? argument : secondArgumentThatIsReallyLong; | 68 var kind = element != null ? argument : secondArgumentThatIsReallyLong; |
| 55 <<< | 69 <<< |
| 56 var kind = element != null | 70 var kind = element != null |
| (...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 132 <<< | 146 <<< |
| 133 identifier && | 147 identifier && |
| 134 identifier && | 148 identifier && |
| 135 identifier && | 149 identifier && |
| 136 identifier; | 150 identifier; |
| 137 >>> "." in named constructor | 151 >>> "." in named constructor |
| 138 new VeryLongClassName.veryLongNamedConstructor(); | 152 new VeryLongClassName.veryLongNamedConstructor(); |
| 139 <<< | 153 <<< |
| 140 new VeryLongClassName | 154 new VeryLongClassName |
| 141 .veryLongNamedConstructor(); | 155 .veryLongNamedConstructor(); |
| OLD | NEW |