about summary refs log tree commit diff
diff options
context:
space:
mode:
authorGuillaume Gomez <guillaume.gomez@huawei.com>2022-05-29 21:39:44 +0200
committerGuillaume Gomez <guillaume.gomez@huawei.com>2022-05-29 21:39:44 +0200
commit4bb728da799f9d2332d14a3790637366bb269d5a (patch)
treef779ed59587176a95db31953481a1e2be085faaf
parent6b4191f5e03db60f7cae7d892af368ce498412c6 (diff)
downloadrust-4bb728da799f9d2332d14a3790637366bb269d5a.tar.gz
rust-4bb728da799f9d2332d14a3790637366bb269d5a.zip
Add "no-debugger" eslint rule
-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 651aacec513..7d7affded7e 100644
--- a/src/librustdoc/html/static/.eslintrc.js
+++ b/src/librustdoc/html/static/.eslintrc.js
@@ -64,5 +64,6 @@ module.exports = {
         ],
         "eqeqeq": "error",
         "no-const-assign": "error",
+        "no-debugger": "error",
     }
 };