zulip/tools/linter_lib
Tim Abbott 729c09074a js: Avoid href="#" for buttons with a JavaScript click handler.
As seen in
https://chat.zulip.org/#narrow/stream/9-issues/topic/edit.20history.20bug/near/1320430,
clicking such a link takes you to the user's default view if the click
handler throws an exception before doing preventDefault().

There hrefs also have the negative effect of having your browser claim
that clicking the link will navigate you to the default view, which it
won't.

Comes with a linter rule to prevent future instances, since it seems
there are some recently added ones, though they are likely the result
of copy/paste.
2022-02-08 17:38:12 -08:00
..
__init__.py
custom_check.py js: Avoid href="#" for buttons with a JavaScript click handler. 2022-02-08 17:38:12 -08:00
exclude.py nagios: Replace check_website_response with standard check_http plugin. 2021-07-09 16:47:03 -07:00
pep8.py lint: Restore pycodestyle wrapper’s check for empty list of files. 2020-07-14 13:54:58 -07:00
pyflakes.py message: Make zero invalid value for message_content_delete_limit_seconds. 2021-09-30 14:45:39 -07:00