Skip to content

Commit

Permalink
Docs: fix grammar mistake in no-caller docs (#11623)
Browse files Browse the repository at this point in the history
  • Loading branch information
entorenee authored and platinumazure committed Apr 19, 2019
1 parent f570be1 commit bebd079
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/rules/no-caller.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ function foo() {

## Rule Details

This rule is aimed at discouraging the use of deprecated and sub-optimal code, but disallowing the use of `arguments.caller` and `arguments.callee`. As such, it will warn when `arguments.caller` and `arguments.callee` are used.
This rule is aimed at discouraging the use of deprecated and sub-optimal code by disallowing the use of `arguments.caller` and `arguments.callee`. As such, it will warn when `arguments.caller` and `arguments.callee` are used.

Examples of **incorrect** code for this rule:

Expand Down

0 comments on commit bebd079

Please sign in to comment.