From 330fd55178889bd6e9ede556f7d2b194511b0754 Mon Sep 17 00:00:00 2001 From: Andrew Hyndman Date: Tue, 7 Jun 2016 20:10:25 +1000 Subject: [PATCH] fixup! Update documentation --- docs/rules/arrow-body-style.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/rules/arrow-body-style.md b/docs/rules/arrow-body-style.md index 8ed02e2eee92..b945b2325048 100644 --- a/docs/rules/arrow-body-style.md +++ b/docs/rules/arrow-body-style.md @@ -4,7 +4,7 @@ Arrow functions can omit braces when there is a single statement in the body. Th ## Rule Details -Arrow functions have two syntactic forms for their function bodies. They may be defined with a *block* body (`() => { ... }`) or with a single expression (`() => ...`), whose value is implicitly returned. +Arrow functions have two syntactic forms for their function bodies. They may be defined with a *block* body (denoted by curly braces) `() => { ... }` or with a single expression `() => ...`, whose value is implicitly returned. This rule may be used to standardize your usage and thus avoid syntactic ambiguity.