chromatism icon indicating copy to clipboard operation
chromatism copied to clipboard

Kale Automated Fixes [ Remove return in single expression arrow functions ]

Open DomAmato opened this issue 6 years ago • 1 comments

Our automated tool found some changes for simplifying things using one of the added ES6 features.

For an arrow function, it replaced the curly braces and return statement with a direct value or expression. Should help compact the code and reducing nesting

DomAmato avatar Dec 19 '18 00:12 DomAmato

@toish, when you get a chance, can you have a look at this PR?

cos avatar Mar 08 '19 00:03 cos