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.

lint: Remove custom rule already enforced by Prettier.

Anders Kaseorg5216b7069125
diff --git a/tools/linter_lib/custom_check.py b/tools/linter_lib/custom_check.py
index 79e68d99222..27b8df059f7 100644
--- a/tools/linter_lib/custom_check.py
+++ b/tools/linter_lib/custom_check.py
@@ -101,8 +101,6 @@ js_rules = RuleList(
'description': 'avoid subject in JS code',
'good_lines': ['topic_name'],
'bad_lines': ['subject="foo"', ' MAX_SUBJECT_LEN']},
- {'pattern': r'[^_]function\(',
- 'description': 'The keyword "function" should be followed by a space'},
{'pattern': 'msgid|MSGID',
'description': 'Avoid using "msgid" as a variable name; use "message_id" instead.'},
{'pattern': r'.*blueslip.warning\(.*',