From ec78ff4cd1a5b556c8eb179110230b3c618dde11 Mon Sep 17 00:00:00 2001 From: Guillaume Gomez Date: Sat, 18 Jun 2022 16:02:44 +0200 Subject: [PATCH] Adding new eslint checks: * no-sequences * no-throw-literal --- src/librustdoc/html/static/.eslintrc.js | 2 ++ 1 file changed, 2 insertions(+) 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", } };