about summary refs log tree commit diff
diff options
context:
space:
mode:
authorGuillaume Gomez <guillaume.gomez@huawei.com>2022-07-04 17:50:19 +0200
committerGuillaume Gomez <guillaume.gomez@huawei.com>2022-07-04 17:50:19 +0200
commit9d0f44436d4acb74fc8f9f648c85545d049f449b (patch)
treea57057dbbbf2b23254a74efeadefd427d2f8026f
parent66c83ffca1512ed76f9445ec7f7280f768ef71c4 (diff)
downloadrust-9d0f44436d4acb74fc8f9f648c85545d049f449b.tar.gz
rust-9d0f44436d4acb74fc8f9f648c85545d049f449b.zip
Add "no-div-regex" 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 2817a8fe144..fcd925bb358 100644
--- a/src/librustdoc/html/static/.eslintrc.js
+++ b/src/librustdoc/html/static/.eslintrc.js
@@ -91,5 +91,6 @@ module.exports = {
         "no-script-url": "error",
         "no-sequences": "error",
         "no-throw-literal": "error",
+        "no-div-regex": "error",
     }
 };