mirror of
https://github.com/zulip/zulip.git
synced 2025-11-03 13:33:24 +00:00
linter: Add rule against misspelled "Terms of Service".
This commit is contained in:
@@ -354,6 +354,8 @@ def build_custom_checkers(by_lang):
|
|||||||
'description': "Organization is spelled with a z"},
|
'description': "Organization is spelled with a z"},
|
||||||
{'pattern': '!!! warning',
|
{'pattern': '!!! warning',
|
||||||
'description': "!!! warning is invalid; it's spelled '!!! warn'"},
|
'description': "!!! warning is invalid; it's spelled '!!! warn'"},
|
||||||
|
{'pattern': 'Terms of service',
|
||||||
|
'description': "The S in Terms of Service is capitalized"},
|
||||||
] # type: RuleList
|
] # type: RuleList
|
||||||
html_rules = whitespace_rules + prose_style_rules + [
|
html_rules = whitespace_rules + prose_style_rules + [
|
||||||
{'pattern': 'placeholder="[^{]',
|
{'pattern': 'placeholder="[^{]',
|
||||||
|
|||||||
Reference in New Issue
Block a user