From c5e39548877b57c0a5d7bd24c620b1de5eaf648e Mon Sep 17 00:00:00 2001 From: Guillaume Gomez Date: Wed, 25 May 2022 13:55:54 +0200 Subject: [PATCH] Add new eslint rule "space-before-blocks" --- 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 ff9e217b290..c67a358fbe1 100644 --- a/src/librustdoc/html/static/.eslintrc.js +++ b/src/librustdoc/html/static/.eslintrc.js @@ -49,5 +49,6 @@ module.exports = { "func-call-spacing": ["error", "never"], "space-infix-ops": "error", "space-before-function-paren": ["error", "never"], + "space-before-blocks": "error", } };