mirror of https://github.com/zulip/zulip.git
lint: Require space after headings in markdown.
This commit is contained in:
parent
279d160f99
commit
90f76c079d
|
@ -1,4 +1,4 @@
|
|||
#Mention a Team Member
|
||||
# Mention a Team Member
|
||||
|
||||
![Mention a Team Member](/static/images/help/mention_user.png)
|
||||
|
||||
|
|
|
@ -185,6 +185,9 @@ def build_custom_checkers(by_lang):
|
|||
{'pattern': '((?<!\s)\s$)|(\s\s\s+$)|(^\s+$)',
|
||||
'strip': '\n',
|
||||
'description': 'Fix trailing whitespace'},
|
||||
{'pattern': '^#+[A-Za-z0-9]',
|
||||
'strip': '\n',
|
||||
'description': 'Missing space after # in heading'},
|
||||
] # type: RuleList
|
||||
js_rules = cast(RuleList, [
|
||||
{'pattern': '[^_]function\(',
|
||||
|
|
Loading…
Reference in New Issue