diff --git a/src/librustdoc/html/static/.eslintrc.js b/src/librustdoc/html/static/.eslintrc.js
index fc8b5678080c1..2817a8fe14488 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",
}
};