about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--src/librustdoc/html/static/.eslintrc.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/librustdoc/html/static/.eslintrc.js b/src/librustdoc/html/static/.eslintrc.js
index fc8b5678080..2817a8fe144 100644
--- a/src/librustdoc/html/static/.eslintrc.js
+++ b/src/librustdoc/html/static/.eslintrc.js
@@ -89,5 +89,7 @@ module.exports = {
         "no-multi-assign": "error",
         "no-return-assign": "error",
         "no-script-url": "error",
+        "no-sequences": "error",
+        "no-throw-literal": "error",
     }
 };