mirror of
https://github.com/zulip/zulip.git
synced 2025-11-04 05:53:43 +00:00
linter: Add rule to favor Botserver over botserver or bot server.
This commit is contained in:
@@ -595,6 +595,8 @@ def build_custom_checkers(by_lang):
|
|||||||
'description': "!!! warning is invalid; it's spelled '!!! warn'"},
|
'description': "!!! warning is invalid; it's spelled '!!! warn'"},
|
||||||
{'pattern': 'Terms of service',
|
{'pattern': 'Terms of service',
|
||||||
'description': "The S in Terms of Service is capitalized"},
|
'description': "The S in Terms of Service is capitalized"},
|
||||||
|
{'pattern': '[^-_]botserver(?!rc)|bot server',
|
||||||
|
'description': "Use Botserver instead of botserver or bot server."},
|
||||||
]) + comma_whitespace_rule
|
]) + comma_whitespace_rule
|
||||||
html_rules = whitespace_rules + prose_style_rules + [
|
html_rules = whitespace_rules + prose_style_rules + [
|
||||||
{'pattern': 'placeholder="[^{#](?:(?!\.com).)+$',
|
{'pattern': 'placeholder="[^{#](?:(?!\.com).)+$',
|
||||||
|
|||||||
Reference in New Issue
Block a user