From 1e4a149823b4ac139c2cffff6138b905c3c6e129 Mon Sep 17 00:00:00 2001 From: Guillaume Gomez Date: Fri, 3 Jun 2022 11:20:46 +0200 Subject: [PATCH] Add "block-scoped-var" eslint rule --- src/librustdoc/html/static/.eslintrc.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src/librustdoc/html/static/.eslintrc.js b/src/librustdoc/html/static/.eslintrc.js index fa1ff41b9a5..627c3e0780b 100644 --- a/src/librustdoc/html/static/.eslintrc.js +++ b/src/librustdoc/html/static/.eslintrc.js @@ -75,5 +75,6 @@ module.exports = { "no-import-assign": "error", "no-self-compare": "error", "no-template-curly-in-string": "error", + "block-scoped-var": "error", } };