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:
parent
5c164b6bea
commit
80c4ef29b0
@ -859,7 +859,7 @@ rules:
|
|||||||
|
|
||||||
# require space before/after arrow function's arrow
|
# require space before/after arrow function's arrow
|
||||||
# http://eslint.org/docs/rules/arrow-spacing
|
# http://eslint.org/docs/rules/arrow-spacing
|
||||||
arrow-spacing: 0
|
arrow-spacing: 2
|
||||||
|
|
||||||
# verify calls of super() in constructors
|
# verify calls of super() in constructors
|
||||||
# http://eslint.org/docs/rules/constructor-super
|
# http://eslint.org/docs/rules/constructor-super
|
||||||
|
Loading…
Reference in New Issue
Block a user