mirror of
https://github.com/zulip/zulip.git
synced 2025-11-15 19:31:58 +00:00
lint: Improve over-aggressive pattern botserver->Botserver pattern.
This is still not a great pattern, but this is sufficient to avoid it firing on URLs of the form zulipbotserver.example.com.
This commit is contained in:
@@ -585,7 +585,7 @@ prose_style_rules = [
|
||||
'description': "!!! warning is invalid; it's spelled '!!! warn'"},
|
||||
{'pattern': 'Terms of service',
|
||||
'description': "The S in Terms of Service is capitalized"},
|
||||
{'pattern': '[^-_]botserver(?!rc)|bot server',
|
||||
{'pattern': '[^-_p]botserver(?!rc)|bot server',
|
||||
'description': "Use Botserver instead of botserver or bot server."},
|
||||
*comma_whitespace_rule,
|
||||
] # type: List[Rule]
|
||||
|
||||
Reference in New Issue
Block a user