Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
lint: Remove custom python rule for json_success without parameter.
Lauryn Menard6f7e53c51745
diff --git a/tools/linter_lib/custom_check.py b/tools/linter_lib/custom_check.pyindex f9a8b2b8a58..bfa0140905f 100644--- a/tools/linter_lib/custom_check.py+++ b/tools/linter_lib/custom_check.py@@ -325,12 +325,6 @@ python_rules = RuleList("good_lines": ["id = alice.user_id"],"bad_lines": ["id = alice.userid"],},- {- "pattern": r"json_success\({}\)",- "description": "Use json_success() to return nothing",- "good_lines": ["return json_success()"],- "bad_lines": ["return json_success({})"],- },# To avoid JsonableError(_variable) and JsonableError(_(variable)){"pattern": r"\WJsonableError\(_\(?\w.+\)",