From 1e6fc0e30d051d948a296a421123444c24caba2f Mon Sep 17 00:00:00 2001 From: Cary Wolff Date: Mon, 17 Feb 2020 20:28:20 -0600 Subject: [PATCH] Docs: rephrased the use of allowArrowFunction with the declaration option (fixes #12900) --- docs/rules/func-style.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/rules/func-style.md b/docs/rules/func-style.md index e17fecf8f821..4e8d701b3f97 100644 --- a/docs/rules/func-style.md +++ b/docs/rules/func-style.md @@ -55,7 +55,7 @@ This rule has a string option: This rule has an object option for an exception: -* `"allowArrowFunctions": true` (default `false`) allows the use of arrow functions (honoured only when using `declaration`) +* When using the `"allowArrowFunctions": true` (default `false`) option with `declaration` arrow functions are allowed ### expression