Skip to content

Commit

Permalink
docs: address upcoming violation of markdownlint rule MD050/strong-st…
Browse files Browse the repository at this point in the history
…yle (#15529)
  • Loading branch information
DavidAnson committed Jan 18, 2022
1 parent 670f481 commit 7d7af55
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/rules/array-callback-return.md
Expand Up @@ -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.

Expand Down

0 comments on commit 7d7af55

Please sign in to comment.