From f1a95b834c2d852428e72bf1a17ff99c2cfe605b Mon Sep 17 00:00:00 2001 From: Guillaume Gomez Date: Sun, 29 May 2022 21:44:10 +0200 Subject: [PATCH] Add "no-ex-assign" 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 f153c9a714f8..f66ecbf78af7 100644 --- a/src/librustdoc/html/static/.eslintrc.js +++ b/src/librustdoc/html/static/.eslintrc.js @@ -69,5 +69,6 @@ module.exports = { "no-dupe-else-if": "error", "no-dupe-keys": "error", "no-duplicate-case": "error", + "no-ex-assign": "error", } };