summaryrefslogtreecommitdiff
path: root/tools/eslint/lib/rules/guard-for-in.js
diff options
context:
space:
mode:
Diffstat (limited to 'tools/eslint/lib/rules/guard-for-in.js')
-rw-r--r--tools/eslint/lib/rules/guard-for-in.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/eslint/lib/rules/guard-for-in.js b/tools/eslint/lib/rules/guard-for-in.js
index bc25b2c9cb..7ccfec90c1 100644
--- a/tools/eslint/lib/rules/guard-for-in.js
+++ b/tools/eslint/lib/rules/guard-for-in.js
@@ -20,11 +20,11 @@ module.exports = {
schema: []
},
- create: function(context) {
+ create(context) {
return {
- ForInStatement: function(node) {
+ ForInStatement(node) {
/*
* If the for-in statement has {}, then the real body is the body