mirror of https://github.com/zulip/zulip.git
linter: Add rule against misspelled "Terms of Service".
This commit is contained in:
parent
0986fe700d
commit
34e3329919
|
@ -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="[^{]',
|
||||||
|
|
Loading…
Reference in New Issue