mirror of https://github.com/zulip/zulip.git
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:
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",
|
||||||
|
|
Loading…
Reference in New Issue