mirror of https://github.com/zulip/zulip.git
lint: Add CSS lint rule for whitespace after {.
This commit is contained in:
parent
a46b5d7bbe
commit
9c56027627
|
@ -158,6 +158,8 @@ bash_rules = [
|
|||
css_rules = [
|
||||
{'pattern': '^[^:]*:\S[^:]*;$',
|
||||
'description': "Missing whitespace after : in CSS"},
|
||||
{'pattern': '{\w',
|
||||
'description': "Missing whitespace after '{' in CSS (should be newline)."},
|
||||
] + whitespace_rules
|
||||
handlebars_rules = whitespace_rules
|
||||
html_rules = whitespace_rules
|
||||
|
|
Loading…
Reference in New Issue