From 9d0f44436d4acb74fc8f9f648c85545d049f449b Mon Sep 17 00:00:00 2001 From: Guillaume Gomez Date: Mon, 4 Jul 2022 17:50:19 +0200 Subject: [PATCH] Add "no-div-regex" eslint rule --- src/librustdoc/html/static/.eslintrc.js | 1 + 1 file changed, 1 insertion(+) 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", } };