Enable keyword-spacing

This enforces a space before and after keywords such as else, if,
switch, case, catch, try, and import.

http://eslint.org/docs/rules/keyword-spacing

Change-Id: I71a9b0d3527ba7612b9af75a3a0e14eaf8b3665e
This commit is contained in:
Michael Krotscheck 2016-03-16 08:16:04 -07:00
parent c2dfae4999
commit 9ece5ec21d
No known key found for this signature in database
GPG Key ID: 20E618D878DE38AB
1 changed files with 1 additions and 1 deletions

View File

@ -640,7 +640,7 @@ rules:
# enforce spacing before and after keywords # enforce spacing before and after keywords
# http://eslint.org/docs/rules/keyword-spacing # http://eslint.org/docs/rules/keyword-spacing
keyword-spacing: 0 keyword-spacing: 2
# Enforces empty lines around comments # Enforces empty lines around comments
# http://eslint.org/docs/rules/lines-around-comment # http://eslint.org/docs/rules/lines-around-comment