Skip to content

armgit / zulip

Public Imported from GitHub
0

Zulip server and web application. Open-source team chat that helps teams stay productive and focused.

custom_check: Remove checks for deleted ui_report aliases.

Anders Kaseorg7e811ea1bd5f
diff --git a/tools/linter_lib/custom_check.py b/tools/linter_lib/custom_check.py
index e834b8ca41a..eb12e351b20 100644
--- a/tools/linter_lib/custom_check.py
+++ b/tools/linter_lib/custom_check.py
@@ -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 "