mirror of https://github.com/zulip/zulip.git
b9f1acb300
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> |
||
---|---|---|
.. | ||
test_template_data | ||
__init__.py | ||
test_capitalization_checker.py | ||
test_css_parser.py | ||
test_html_branches.py | ||
test_linter_custom_check.py | ||
test_pretty_print.py | ||
test_template_parser.py |