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 // spacing rule.

Anders Kaseorgc66a848c97c0
diff --git a/tools/linter_lib/custom_check.py b/tools/linter_lib/custom_check.py
index 40a8c6aa9e9..ce6295e906e 100644
--- a/tools/linter_lib/custom_check.py
+++ b/tools/linter_lib/custom_check.py
@@ -140,8 +140,6 @@ js_rules = RuleList(
"pattern": "[\"']json/",
"description": "Relative URL for JSON route not supported by i18n",
},
- # This rule is constructed with + to avoid triggering on itself
- {"pattern": "^[ ]*//[A-Za-z0-9]", "description": "Missing space after // in comment"},
{
"pattern": r"""[.]text\(["'][a-zA-Z]""",
"description": "Strings passed to $().text should be wrapped in $t() for internationalization",