mirror of https://github.com/zulip/zulip.git
lint: Check for invalid '!!! warning'.
This commit is contained in:
parent
e724af3183
commit
1262db40ea
|
@ -372,6 +372,8 @@ def build_custom_checkers(by_lang):
|
|||
'description': "github should be spelled GitHub"},
|
||||
{'pattern': '[oO]rganisation', # exclude usage in hrefs/divs
|
||||
'description': "Organization is spelled with a z"},
|
||||
{'pattern': '!!! warning',
|
||||
'description': "!!! warning is invalid; it's spelled '!!! warn'"},
|
||||
] # type: RuleList
|
||||
html_rules = whitespace_rules + prose_style_rules + [
|
||||
{'pattern': 'placeholder="[^{]',
|
||||
|
|
Loading…
Reference in New Issue