summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVitaly Kramskikh <vkramskikh@mirantis.com>2016-05-11 20:35:10 +0300
committerVitaly Kramskikh <vkramskikh@mirantis.com>2016-05-11 20:35:10 +0300
commit80c4ef29b01dfca63c83c075ebe1ab6579d5d6bc (patch)
tree9fe10050f912e3d565bfcd1791d57c251994eef6
parent5c164b6bea214ea3e776327e86aeff7d6b8a1935 (diff)
Enable arrow-spacing
Require spaces around arrow in arrow functions, like they are required around keywords if, else, in, do, etc. http://eslint.org/docs/rules/arrow-spacing Change-Id: I1b8f2b4ed3619f0e8565a79ddcd439fa7851b5ad
Notes
Notes (review): Code-Review+1: Michael Krotscheck <krotscheck@gmail.com> Code-Review+1: Julia Aranovich <jkirnosova@mirantis.com> Code-Review+1: Kate Pimenova <kpimenova@mirantis.com> Code-Review+2: Timur Sufiev <tsufiev@mirantis.com> Code-Review+2: Beth Elwell <e.r.elwell@gmail.com> Workflow+1: Beth Elwell <e.r.elwell@gmail.com> Verified+2: Jenkins Submitted-by: Jenkins Submitted-at: Thu, 02 Jun 2016 16:08:19 +0000 Reviewed-on: https://review.openstack.org/315181 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 2c821ce..c7d4eb5 100644
--- a/.eslintrc
+++ b/.eslintrc
@@ -859,7 +859,7 @@ rules:
859 859
860 # require space before/after arrow function's arrow 860 # require space before/after arrow function's arrow
861 # http://eslint.org/docs/rules/arrow-spacing 861 # http://eslint.org/docs/rules/arrow-spacing
862 arrow-spacing: 0 862 arrow-spacing: 2
863 863
864 # verify calls of super() in constructors 864 # verify calls of super() in constructors
865 # http://eslint.org/docs/rules/constructor-super 865 # http://eslint.org/docs/rules/constructor-super