From 80c4ef29b01dfca63c83c075ebe1ab6579d5d6bc Mon Sep 17 00:00:00 2001 From: Vitaly Kramskikh Date: Wed, 11 May 2016 20:35:10 +0300 Subject: [PATCH] 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 --- .eslintrc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.eslintrc b/.eslintrc index 2c821ce..c7d4eb5 100644 --- a/.eslintrc +++ b/.eslintrc @@ -859,7 +859,7 @@ rules: # require space before/after arrow function's arrow # http://eslint.org/docs/rules/arrow-spacing - arrow-spacing: 0 + arrow-spacing: 2 # verify calls of super() in constructors # http://eslint.org/docs/rules/constructor-super