Add CSS linter for missing space after : in rules.

This commit is contained in:
Tim Abbott 2016-04-08 20:56:46 -07:00
parent f4bd35678e
commit 9584ae1ab8
1 changed files with 4 additions and 1 deletions

View File

@ -147,7 +147,10 @@ bash_rules = [
{'pattern': '#!.*sh [-xe]',
'description': 'Fix shebang line with proper call to /usr/bin/env for Bash path, change -x|-e switches to set -x|set -e'},
] + whitespace_rules[0:1]
css_rules = whitespace_rules
css_rules = [
{'pattern': '^[^:]*:\S[^:]*;$',
'description': "Missing whitespace after : in CSS"},
] + whitespace_rules
handlebars_rules = whitespace_rules
html_rules = whitespace_rules