mirror of https://github.com/zulip/zulip.git
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:
parent
9e481e353a
commit
83a012eaeb
|
@ -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]
|
||||
|
|
Loading…
Reference in New Issue