custom_check: Remove checks for deleted ui_report aliases.

They were deleted in commit 2d52463b61.

Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
Anders Kaseorg 2023-06-09 16:06:05 -07:00 committed by Anders Kaseorg
parent f63973c0cf
commit 7e811ea1bd
1 changed files with 0 additions and 8 deletions

View File

@ -153,19 +153,11 @@ js_rules = RuleList(
"description": "Strings passed to $().text should be wrapped in $t() for internationalization",
"exclude": {"web/tests/"},
},
{
"pattern": r"ui.report_success\(",
"description": "Deprecated function, use ui_report.success.",
},
{
"pattern": r"""report.success\(["']""",
"description": "Argument to ui_report.success should be a literal string translated "
"by $t_html()",
},
{
"pattern": r"ui.report_error\(",
"description": "Deprecated function, use ui_report.error.",
},
{
"pattern": r"""report.error\(["'][^'"]""",
"description": "Argument to ui_report.error should be a literal string translated "