Commit e1da90f
* reproduce extra nested ternary indentation with a test
* add a similar test with proper indenting of nested ternary
* apply condition to avoid extra indenting with offsetTernaryExpressions
Co-authored-by: Adam Stankiewicz <sheerun@sher.pl>
Co-authored-by: Adam Stankiewicz <sheerun@sher.pl>
1 parent 1a078b9 commit e1da90f
2 files changed
Lines changed: 21 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1178 | 1178 | | |
1179 | 1179 | | |
1180 | 1180 | | |
| 1181 | + | |
1181 | 1182 | | |
1182 | 1183 | | |
1183 | 1184 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2204 | 2204 | | |
2205 | 2205 | | |
2206 | 2206 | | |
| 2207 | + | |
| 2208 | + | |
| 2209 | + | |
| 2210 | + | |
| 2211 | + | |
| 2212 | + | |
| 2213 | + | |
| 2214 | + | |
| 2215 | + | |
| 2216 | + | |
| 2217 | + | |
| 2218 | + | |
| 2219 | + | |
| 2220 | + | |
| 2221 | + | |
| 2222 | + | |
| 2223 | + | |
| 2224 | + | |
| 2225 | + | |
| 2226 | + | |
2207 | 2227 | | |
2208 | 2228 | | |
2209 | 2229 | | |
| |||
0 commit comments