Redundant braces around arrow function body

Last modified: 03 December 2024

Reports an arrow function whose body only consists of braces and exactly one statement. Suggests converting to concise syntax without braces.

After the quick-fix is applied, the code fragment looks as follows: