summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Krotscheck <krotscheck@gmail.com>2016-03-16 08:16:04 -0700
committerMichael Krotscheck <krotscheck@gmail.com>2016-05-04 12:41:13 -0700
commit9ece5ec21d93bfc405f133e481a56ebe8fa9d28f (patch)
treeb7dacf2af18cf70322848ea8cfa234e3dc654a35
parentc2dfae499947999ad6a1d835e742ad74c5d5176d (diff)
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
Notes
Notes (review): Code-Review+2: Beth Elwell <e.r.elwell@gmail.com> Code-Review+1: Cindy Lu <clu@us.ibm.com> Code-Review+2: Timur Sufiev <tsufiev@mirantis.com> Code-Review+1: Vitaly Kramskikh <vkramskikh@mirantis.com> Code-Review+1: Zara <zara.zaimeche@codethink.co.uk> Workflow+1: Michael Krotscheck <krotscheck@gmail.com> Verified+2: Jenkins Submitted-by: Jenkins Submitted-at: Fri, 10 Jun 2016 14:05:22 +0000 Reviewed-on: https://review.openstack.org/293500 Project: openstack/eslint-config-openstack Branch: refs/heads/master
-rw-r--r--.eslintrc2
1 files changed, 1 insertions, 1 deletions
diff --git a/.eslintrc b/.eslintrc
index 883ab2a..f48996a 100644
--- a/.eslintrc
+++ b/.eslintrc
@@ -640,7 +640,7 @@ rules:
640 640
641 # enforce spacing before and after keywords 641 # enforce spacing before and after keywords
642 # http://eslint.org/docs/rules/keyword-spacing 642 # http://eslint.org/docs/rules/keyword-spacing
643 keyword-spacing: 0 643 keyword-spacing: 2
644 644
645 # Enforces empty lines around comments 645 # Enforces empty lines around comments
646 # http://eslint.org/docs/rules/lines-around-comment 646 # http://eslint.org/docs/rules/lines-around-comment