From 7d7af55759eab2328aeeb71098d91f4a5e41b269 Mon Sep 17 00:00:00 2001 From: David Anson Date: Tue, 18 Jan 2022 15:22:15 -0800 Subject: [PATCH] docs: address upcoming violation of markdownlint rule MD050/strong-style (#15529) --- docs/rules/array-callback-return.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/rules/array-callback-return.md b/docs/rules/array-callback-return.md index 568e014cd74..f95b7256e6e 100644 --- a/docs/rules/array-callback-return.md +++ b/docs/rules/array-callback-return.md @@ -13,7 +13,7 @@ var indexMap = myArray.reduce(function(memo, item, index) { ## Rule Details This rule enforces usage of `return` statement in callbacks of array's methods. -Additionally, it may also enforce the `forEach` array method callback to __not__ return a value by using the `checkForEach` option. +Additionally, it may also enforce the `forEach` array method callback to **not** return a value by using the `checkForEach` option. This rule finds callback functions of the following methods, then checks usage of `return` statement.