about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorGuillaume Gomez <guillaume.gomez@huawei.com>2022-05-29 21:44:10 +0200
committerGuillaume Gomez <guillaume.gomez@huawei.com>2022-05-29 21:44:10 +0200
commitf1a95b834c2d852428e72bf1a17ff99c2cfe605b (patch)
treeeef8c224c6b7640207989fe9a3f426efbde55475 /src
parentd39703a6c53a78d477360a15ffd36921449fee93 (diff)
downloadrust-f1a95b834c2d852428e72bf1a17ff99c2cfe605b.tar.gz
rust-f1a95b834c2d852428e72bf1a17ff99c2cfe605b.zip
Add "no-ex-assign" eslint rule
Diffstat (limited to 'src')
-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 f153c9a714f..f66ecbf78af 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",
     }
 };