about summary refs log tree commit diff
diff options
context:
space:
mode:
authorGuillaume Gomez <guillaume.gomez@huawei.com>2022-06-06 14:01:52 +0200
committerGuillaume Gomez <guillaume.gomez@huawei.com>2022-06-06 14:01:52 +0200
commitb827847d1936ab1fae2dd002659dca736e084c2d (patch)
tree20e7ddeb561c1d53504f1bc292f236d4e08c5e2c
parentb48bbd4e2f6c29493174f721850ff47379a1c982 (diff)
downloadrust-b827847d1936ab1fae2dd002659dca736e084c2d.tar.gz
rust-b827847d1936ab1fae2dd002659dca736e084c2d.zip
Add "no-implicit-globals" eslint check
-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 2ffcbb82591..d6e96bd71e4 100644
--- a/src/librustdoc/html/static/.eslintrc.js
+++ b/src/librustdoc/html/static/.eslintrc.js
@@ -81,5 +81,6 @@ module.exports = {
         "no-confusing-arrow": "error",
         "no-div-regex": "error",
         "no-floating-decimal": "error",
+        "no-implicit-globals": "error",
     }
 };