about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--src/librustdoc/html/static/.eslintrc.js1
1 files changed, 1 insertions, 0 deletions
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",
     }
 };