zulip/templates/analytics
Aditya Bansal b9f1acb300 linter: Enforce 2 space indents on tags spread over multiple lines.
We make some specific cases of tags use 2 space indents.
The case description:
* A tag with opening tag spread over multiple lines and closing tag
on the same line as of the closing angle bracket of the opening tag.
* A tag with opening tag spread over multiple lines and closing tag
not on the same line as of the closing angle bracket of the opening
tag.

Example:
Case 1:

Not linted:
<button type="button"
class="btn btn-primary btn-small">{{t "Yes" }}</button>

After linting:
<button type="button"
  class="btn btn-primary btn-small">{{t "Yes" }}</button>

Case 2:

Before linting:
<div class = "foo"
     id = "bar"
     role = "whatever">
     {{ bla }}
</div>

After linting:
<div class = "foo"
  id = "bar"
  role = "whatever">
    {{ bla }}
</div>
2018-04-07 20:08:44 -07:00
..
activity.html analytics/activity.html: Clean up to use 4 space indentation. 2018-01-27 23:06:58 +05:30
ad_hoc_query.html Clean ad_hoc_query.html to use 4 space indentation. 2017-06-06 22:00:36 -07:00
realm_summary_table.html linter: Enforce 2 space indents on tags spread over multiple lines. 2018-04-07 20:08:44 -07:00
stats.html analytics/stats.html: Clean up to use 4 space indentation. 2018-01-27 23:06:59 +05:30