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
This commit is contained in:
Vitaly Kramskikh 2016-05-11 20:35:10 +03:00
parent 5c164b6bea
commit 80c4ef29b0
1 changed files with 1 additions and 1 deletions

View File

@ -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