about summary refs log tree commit diff
diff options
context:
space:
mode:
authorGuillaume Gomez <guillaume.gomez@huawei.com>2022-06-11 13:19:29 +0200
committerGuillaume Gomez <guillaume.gomez@huawei.com>2022-06-11 13:19:29 +0200
commit4a874b0e594c4720f314e80a81e71e86a89ff61e (patch)
tree73a2c5fe6a932d9ae029a089ce27b4a6e9b1daa3
parent64ac29bc1aaea197d08eaaeb9b014ca112ec29c5 (diff)
downloadrust-4a874b0e594c4720f314e80a81e71e86a89ff61e.tar.gz
rust-4a874b0e594c4720f314e80a81e71e86a89ff61e.zip
Add eslint rule "no-mixed-operator"
-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 1cc5f12b330..26ca8213ab1 100644
--- a/src/librustdoc/html/static/.eslintrc.js
+++ b/src/librustdoc/html/static/.eslintrc.js
@@ -85,5 +85,6 @@ module.exports = {
         "no-implied-eval": "error",
         "no-label-var": "error",
         "no-lonely-if": "error",
+        "no-mixed-operators": "error",
     }
 };