lint: Add CSS lint rule for whitespace after {.

This commit is contained in:
Tim Abbott 2016-04-20 11:50:01 -07:00
parent a46b5d7bbe
commit 9c56027627
1 changed files with 2 additions and 0 deletions

View File

@ -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