Skip to content

Commit

Permalink
Docs: Fix code snippet to refer to the correct option (#9313)
Browse files Browse the repository at this point in the history
Fixes a small copy-paste mistake.
  • Loading branch information
angryzor authored and not-an-aardvark committed Sep 15, 2017
1 parent 12388d4 commit 7d24dde
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/rules/prefer-arrow-callback.md
Expand Up @@ -76,7 +76,7 @@ By default `{ "allowUnboundThis": true }`, this `boolean` option allows function

When set to `false` this option prohibits the use of function expressions as callbacks or function arguments entirely, without exception.

`{ "allowNamedFunctions": false }` **will** flag the following examples:
`{ "allowUnboundThis": false }` **will** flag the following examples:

```js
/* eslint prefer-arrow-callback: [ "error", { "allowUnboundThis": false } ] */
Expand Down

0 comments on commit 7d24dde

Please sign in to comment.