From bebd0793eaf122b013cca501ff2c6b0fc05d5493 Mon Sep 17 00:00:00 2001 From: Daniel Lemay <26767995+dslemay@users.noreply.github.com> Date: Thu, 18 Apr 2019 17:17:32 -0700 Subject: [PATCH] Docs: fix grammar mistake in no-caller docs (#11623) --- docs/rules/no-caller.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/rules/no-caller.md b/docs/rules/no-caller.md index ff408688a8c..f5688df385e 100644 --- a/docs/rules/no-caller.md +++ b/docs/rules/no-caller.md @@ -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: