about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--src/librustdoc/html/static/.eslintrc.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/librustdoc/html/static/.eslintrc.js b/src/librustdoc/html/static/.eslintrc.js
index 627c3e0780b..ab0bff95228 100644
--- a/src/librustdoc/html/static/.eslintrc.js
+++ b/src/librustdoc/html/static/.eslintrc.js
@@ -76,5 +76,6 @@ module.exports = {
         "no-self-compare": "error",
         "no-template-curly-in-string": "error",
         "block-scoped-var": "error",
+        "guard-for-in": "error",
     }
 };