Open strager opened 9 months ago
if (x) if (y) z(); else w();
quick-lint-js should warn that the else should be indented.
else
Related: #282
A special case can be
if (x) y(); z();
quick-lint should warn that z() is indented but is not part of the if
z()
if
quick-lint-js should warn that the
else
should be indented.Related: #282