about summary refs log tree commit diff
diff options
context:
space:
mode:
authorMatthias Krüger <matthias.krueger@famsik.de>2022-07-04 23:11:15 +0200
committerGitHub <noreply@github.com>2022-07-04 23:11:15 +0200
commit08d558dbe94618d910d0218e8323b76db1b9a863 (patch)
tree9e2c39d6b10c8240e0ce016fbb9f996f4759b54c
parentadfcb74db02e348a53c37f023540e21a1bb378c5 (diff)
parent9d0f44436d4acb74fc8f9f648c85545d049f449b (diff)
downloadrust-08d558dbe94618d910d0218e8323b76db1b9a863.tar.gz
rust-08d558dbe94618d910d0218e8323b76db1b9a863.zip
Rollup merge of #98898 - GuillaumeGomez:new-eslint-rul, r=Dylan-DPC
Add "no-div-regex" eslint rule

r? `@Dylan-DPC`
-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",
     }
 };