mirror of
https://github.com/zulip/zulip.git
synced 2025-11-05 06:23:38 +00:00
lint: Remove custom // spacing rule.
Commit 7f89cb9535 (#17822) enabled the
ESLint spaced-comment rule.
Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
committed by
Tim Abbott
parent
a5511b3fbb
commit
c66a848c97
@@ -140,8 +140,6 @@ js_rules = RuleList(
|
|||||||
"pattern": "[\"']json/",
|
"pattern": "[\"']json/",
|
||||||
"description": "Relative URL for JSON route not supported by i18n",
|
"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]""",
|
"pattern": r"""[.]text\(["'][a-zA-Z]""",
|
||||||
"description": "Strings passed to $().text should be wrapped in $t() for internationalization",
|
"description": "Strings passed to $().text should be wrapped in $t() for internationalization",
|
||||||
|
|||||||
Reference in New Issue
Block a user