Skip to content

Commit

Permalink
Update docs/rules/array-callback-return.md
Browse files Browse the repository at this point in the history
Co-Authored-By: Kai Cataldo <kai@kaicataldo.com>
  • Loading branch information
gabrieldrs and kaicataldo committed Dec 10, 2019
1 parent 3fd324f commit 8afba9a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/rules/array-callback-return.md
Expand Up @@ -87,7 +87,7 @@ var undefAllTheThings = myArray.map(function(item) {
});
```

* `"checkForEach": false` (default) When set to true, rule will also report forEach callbacks which return a value.
* `"checkForEach": false` (default) When set to `true`, rule will also report `forEach` callbacks that return a value.

Examples of **incorrect** code for the `{ "checkForEach": true }` option:

Expand Down

0 comments on commit 8afba9a

Please sign in to comment.