Pattern: Non-shorthand arrow function
Issue: -
Suggests to convert () => { return x; }
to () => x
.
Arrow function body can be simplified by omitting the curly braces and the keyword return
.
Pattern: Non-shorthand arrow function
Issue: -
Suggests to convert () => { return x; }
to () => x
.
Arrow function body can be simplified by omitting the curly braces and the keyword return
.