From 465a3b0c628b925da35f415e00e61e88d21928e2 Mon Sep 17 00:00:00 2001 From: Dan Dascalescu Date: Sat, 20 Jan 2018 06:53:20 -0800 Subject: [PATCH 1/3] Mention the `globals` key --- docs/rules/no-undef.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/rules/no-undef.md b/docs/rules/no-undef.md index 4b21f2c05d9..8250fbeec0b 100644 --- a/docs/rules/no-undef.md +++ b/docs/rules/no-undef.md @@ -1,6 +1,6 @@ # Disallow Undeclared Variables (no-undef) -This rule can help you locate potential ReferenceErrors resulting from misspellings of variable and parameter names, or accidental implicit globals (for example, from forgetting the `var` keyword in a `for` loop initializer). +This rule can help you locate potential ReferenceErrors resulting from misspellings of variable and parameter names, or accidental implicit globals (for example, from forgetting the `var` keyword in a `for` loop initializer). If you use specific globals that are defined in a different file (e.g. imported via an HTML `