about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorGuillaume Gomez <guillaume.gomez@huawei.com>2022-06-11 13:23:08 +0200
committerGuillaume Gomez <guillaume.gomez@huawei.com>2022-06-11 13:23:08 +0200
commitfb68e0bf9be3d5cef1e77fa7496f54160d899868 (patch)
tree2dfc67de9ab8733a177a4cbbb212384632a99dde /src
parentfb728c66c625673c6e794d5f4a4e1bffaac4ac6b (diff)
downloadrust-fb68e0bf9be3d5cef1e77fa7496f54160d899868.tar.gz
rust-fb68e0bf9be3d5cef1e77fa7496f54160d899868.zip
Add eslint rule "no-script-url"
Diffstat (limited to 'src')
-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 f3178a555cf..fc8b5678080 100644
--- a/src/librustdoc/html/static/.eslintrc.js
+++ b/src/librustdoc/html/static/.eslintrc.js
@@ -88,5 +88,6 @@ module.exports = {
         "no-mixed-operators": "error",
         "no-multi-assign": "error",
         "no-return-assign": "error",
+        "no-script-url": "error",
     }
 };