about summary refs log tree commit diff
diff options
context:
space:
mode:
authorGuillaume Gomez <guillaume.gomez@huawei.com>2022-06-06 13:58:53 +0200
committerGuillaume Gomez <guillaume.gomez@huawei.com>2022-06-06 13:58:53 +0200
commit0e66868138f9461edcb4de273792193d19d3f4b2 (patch)
tree337b7822b351d4f52d36b073ab05a1af2efb578c
parent116eec247afd46d124242fbb8e563d6fccc5f96e (diff)
Add "no-div-regex" 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 6700369aa7a..0d72aadbce1 100644
--- a/src/librustdoc/html/static/.eslintrc.js
+++ b/src/librustdoc/html/static/.eslintrc.js
@@ -79,5 +79,6 @@ module.exports = {
         "guard-for-in": "error",
         "no-alert": "error",
         "no-confusing-arrow": "error",
+        "no-div-regex": "error",
     }
 };